Skip to content

Commit 97da1f0

Browse files
Andrey Polischukljharb
authored andcommitted
[eslint config] [base] [patch] add import/no-extraneous-dependencies ignore patterns for test files
Fixes airbnb#1174
1 parent 25d03b8 commit 97da1f0

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ module.exports = {
7373
'test/**',
7474
'tests/**',
7575
'**/__tests__/**',
76+
'test.js',
77+
'test-*.js',
78+
'**/*.test.js',
7679
'**/webpack.config.js',
7780
'**/webpack.config.*.js',
7881
'**/rollup.config.js',

0 commit comments

Comments
 (0)