Skip to content

Commit bc21501

Browse files
stevemaoljharb
authored andcommitted
[eslint config] [base] [minor] add **/*.spec.js as a test files pattern
(see airbnb#1131)
1 parent 840d021 commit bc21501

File tree

1 file changed

+1
-0
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-0
lines changed

packages/eslint-config-airbnb-base/rules/imports.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ module.exports = {
7676
'test.js', // repos with a single test file
7777
'test-*.js', // repos with multiple top-level test files
7878
'**/*.test.js', // tests where the extension denotes that it is a test
79+
'**/*.spec.js', // tests where the extension denotes that it is a test
7980
'**/webpack.config.js', // webpack config
8081
'**/webpack.config.*.js', // webpack config
8182
'**/rollup.config.js', // rollup config

0 commit comments

Comments
 (0)