We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfe10c1 commit 5923905Copy full SHA for 5923905
packages/eslint-config-airbnb-base/rules/imports.js
@@ -76,7 +76,7 @@ module.exports = {
76
'**/__tests__/**', // jest pattern
77
'test.{js,jsx}', // repos with a single test file
78
'test-*.{js,jsx}', // repos with multiple top-level test files
79
- '**/*.{test,spec}.{js,jsx}', // tests where the extension denotes that it is a test
+ '**/*{.,_}{test,spec}.{js,jsx}', // tests where the extension or filename suffix denotes that it is a test
80
'**/jest.config.js', // jest config
81
'**/webpack.config.js', // webpack config
82
'**/webpack.config.*.js', // webpack config
0 commit comments