[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:
Joe Lencioni
2018-02-15 11:58:17 -08:00
committed by Jordan Harband
parent 22f01558a0
commit 8c83d03a20

View File

@@ -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