Skip to content

Commit af7b091

Browse files
committed
fix(eslint): improve eslint ignore expression
1 parent 515e762 commit af7b091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-react/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default [
111111
kebabCase: true,
112112
pascalCase: true,
113113
},
114-
ignore: [/^(?:.*\/)*routes\/.*\.(js|ts|jsx|tsx)$/],
114+
ignore: ['**/routes/**/*.{js,ts,jsx,tsx}'],
115115
},
116116
],
117117
},

0 commit comments

Comments
 (0)