@@ -69,18 +69,18 @@ module.exports = {
69
69
// paths are treated both as absolute paths, and relative to process.cwd()
70
70
'import/no-extraneous-dependencies' : [ 'error' , {
71
71
devDependencies : [
72
- 'spec /**' ,
73
- 'test /**' ,
74
- 'tests /**' ,
75
- '**/__tests__/**' ,
76
- 'test.js' ,
77
- 'test-*.js' ,
78
- '**/*.test.js' ,
79
- '**/webpack.config.js' ,
80
- '**/webpack.config.*.js' ,
81
- '**/rollup.config.js' ,
82
- '**/gulpfile.js' ,
83
- '**/Gruntfile' ,
72
+ 'test /**' , // tape, common npm pattern
73
+ 'tests /**' , // also common npm pattern
74
+ 'spec /**' , // mocha, rspec-like pattern
75
+ '**/__tests__/**' , // jest pattern
76
+ 'test.js' , // repos with a single test file
77
+ 'test-*.js' , // repos with multiple top-level test files
78
+ '**/*.test.js' , // tests where the extension denotes that it is a test
79
+ '**/webpack.config.js' , // webpack config
80
+ '**/webpack.config.*.js' , // webpack config
81
+ '**/rollup.config.js' , // rollup config
82
+ '**/gulpfile.js' , // gulp config
83
+ '**/Gruntfile' , // grunt config
84
84
] ,
85
85
optionalDependencies : false ,
86
86
} ] ,
0 commit comments