mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [base] [patch] Allow devDependencies for foo_spec.js naming style
Some projects name test files like `foo_spec.js` instead of `foo.spec.js`.
This commit is contained in:
committed by
Jordan Harband
parent
22f01558a0
commit
8c83d03a20
@@ -77,7 +77,7 @@ module.exports = {
|
||||
'**/__mocks__/**', // jest pattern
|
||||
'test.{js,jsx}', // repos with a single test file
|
||||
'test-*.{js,jsx}', // repos with multiple top-level test files
|
||||
'**/*.{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
|
||||
'**/jest.config.js', // jest config
|
||||
'**/webpack.config.js', // webpack config
|
||||
'**/webpack.config.*.js', // webpack config
|
||||
|
||||
Reference in New Issue
Block a user