Skip to content

Commit

Permalink
fix: update default lint files glob pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
longgui.wjb committed Feb 25, 2022
1 parent 91dc9eb commit 9f4eb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/middleware-webpack/src/config/configPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default async (config: Config, options: INormalizedOpts, ctx: Context) =>
extensions: "js,jsx,ts,tsx",
formatter: require.resolve("eslint-formatter-pretty"),
failOnError: false,
files: "**/*",
files: "**/*.(js|jsx|ts|tsx)",
...(typeof options.lint === "object" ? options.lint : {}),
},
]);
Expand Down

0 comments on commit 9f4eb9e

Please sign in to comment.