Skip to content

Commit

Permalink
[eslint config] [base] [minor] add **/*.spec.js as a test files pat…
Browse files Browse the repository at this point in the history
…tern

(see airbnb#1131)
  • Loading branch information
stevemao authored and ljharb committed Feb 23, 2017
1 parent 7f5a857 commit becad90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit becad90

Please sign in to comment.