[eslint config] [base] [minor] add **/*.spec.js as a test files pattern

(see #1131)
This commit is contained in:
Steve Mao
2017-02-23 14:13:39 +11:00
committed by Jordan Harband
parent 840d021d07
commit bc21501cc7

View File

@@ -76,6 +76,7 @@ module.exports = {
'test.js', // repos with a single test file
'test-*.js', // repos with multiple top-level test files
'**/*.test.js', // tests where the extension denotes that it is a test
'**/*.spec.js', // tests where the extension denotes that it is a test
'**/webpack.config.js', // webpack config
'**/webpack.config.*.js', // webpack config
'**/rollup.config.js', // rollup config