Skip to content

Commit 5490a6e

Browse files
amir-rahmaniiASafaeirad
authored andcommitted
fix(react): add files configuration
1 parent fef6b1e commit 5490a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/react.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function react(options = {}) {
1111
const projectService = options.typescript && options.typescript.tsconfigRootDir && options.typescript.projectService;
1212

1313
return {
14+
files: [globs.js, globs.jsx, globs.ts, globs.tsx],
1415
plugins: {
1516
...reactPlugin.configs.all.plugins,
1617
'react-hooks': hooksPlugin,
@@ -21,7 +22,6 @@ function react(options = {}) {
2122
parser,
2223
parserOptions: { ...options.typescript },
2324
},
24-
ignores: [globs.js, globs.jsx],
2525
}),
2626
settings: {
2727
'react': {

0 commit comments

Comments
 (0)