@wistia/eslint-config 0.23.3 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/eslint/imports.js +10 -18
package/package.json
CHANGED
package/rules/eslint/imports.js
CHANGED
|
@@ -59,28 +59,20 @@ module.exports = {
|
|
|
59
59
|
'error',
|
|
60
60
|
{
|
|
61
61
|
devDependencies: [
|
|
62
|
-
'
|
|
63
|
-
'tests/**', // also common npm pattern
|
|
64
|
-
'spec/**', // mocha, rspec-like pattern
|
|
62
|
+
'tests/**', // common npm pattern
|
|
65
63
|
'**/__tests__/**', // jest pattern
|
|
66
64
|
'**/__mocks__/**', // jest pattern
|
|
67
|
-
'test.{js,jsx}', //
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'**/
|
|
71
|
-
'**/
|
|
72
|
-
'**/
|
|
73
|
-
'
|
|
74
|
-
'
|
|
65
|
+
'**/*{.,_}{test,spec}.{js,jsx,ts,tsx}', // tests where the extension or filename suffix denotes that it is a test
|
|
66
|
+
'**/jest.config.{js,cjs,mjs}', // jest config
|
|
67
|
+
'**/jest.setup.{js,cjs,mjs}', // jest setup
|
|
68
|
+
'**/webpack.config.{js,cjs,mjs}', // webpack config
|
|
69
|
+
'**/webpack.config.*.{js,cjs,mjs}', // webpack config
|
|
70
|
+
'**/eslint.config.{js,cjs,mjs}', // eslint config
|
|
71
|
+
'**/.eslintrc.{js,cjs}', // eslint config
|
|
72
|
+
'**/.stylelintrc.{js,cjs,mjs}', // stylelint config
|
|
73
|
+
'**/esbuild.config.{js,cjs,mjs}', // esbuild config
|
|
75
74
|
'**/rollup.config.js', // rollup config
|
|
76
75
|
'**/rollup.config.*.js', // rollup config
|
|
77
|
-
'**/gulpfile.js', // gulp config
|
|
78
|
-
'**/gulpfile.*.js', // gulp config
|
|
79
|
-
'**/Gruntfile{,.js}', // grunt config
|
|
80
|
-
'**/protractor.conf.js', // protractor config
|
|
81
|
-
'**/protractor.conf.*.js', // protractor config
|
|
82
|
-
'**/karma.conf.js', // karma config
|
|
83
|
-
'**/.eslintrc.js', // eslint config
|
|
84
76
|
],
|
|
85
77
|
optionalDependencies: false,
|
|
86
78
|
},
|