File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/eslint-config-airbnb-base/rules Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,9 @@ module.exports = {
7373 'tests/**' , // also common npm pattern
7474 'spec/**' , // mocha, rspec-like pattern
7575 '**/__tests__/**' , // jest pattern
76- 'test.js' , // repos with a single test file
77- 'test-*.js' , // repos with multiple top-level test files
78- '**/*.test.js' , // tests where the extension denotes that it is a test
79- '**/*.spec.js' , // tests where the extension denotes that it is a test
76+ 'test.{js,jsx}' , // repos with a single test file
77+ 'test-*.{js,jsx}' , // repos with multiple top-level test files
78+ '**/*.{test,spec}.{js,jsx}' , // tests where the extension denotes that it is a test
8079 '**/webpack.config.js' , // webpack config
8180 '**/webpack.config.*.js' , // webpack config
8281 '**/rollup.config.js' , // rollup config
You can’t perform that action at this time.
0 commit comments