fix: fix spec files eslint
This commit is contained in:
parent
46e1cd5d4a
commit
1818a279b5
27
.eslintrc
27
.eslintrc
@ -61,6 +61,33 @@
|
||||
"jsx": "never",
|
||||
"tsx": "never",
|
||||
"ts": "never"
|
||||
}],
|
||||
"import/no-extraneous-dependencies": ["error", {
|
||||
"devDependencies": [
|
||||
"test/**",
|
||||
"tests/**",
|
||||
"spec/**",
|
||||
"**/__tests__/**",
|
||||
"**/__mocks__/**",
|
||||
"test.{[j|t]sx,[j|t]sx}",
|
||||
"test-*.{[j|t]sx,[j|t]sx}",
|
||||
"**/*{.,_}{test,spec}.{[j|t]sx,[j|t]sx}",
|
||||
"**/jest.config.[j|t]",
|
||||
"**/jest.setup.[j|t]",
|
||||
"**/vue.config.[j|t]",
|
||||
"**/webpack.config.[j|t]",
|
||||
"**/webpack.config.*.[j|t]",
|
||||
"**/rollup.config.[j|t]",
|
||||
"**/rollup.config.*.[j|t]",
|
||||
"**/gulpfile.[j|t]",
|
||||
"**/gulpfile.*.[j|t]",
|
||||
"**/Gruntfile{,.[j|t]}",
|
||||
"**/protractor.conf.[j|t]",
|
||||
"**/protractor.conf.*.[j|t]",
|
||||
"**/karma.conf.[j|t]",
|
||||
"**/.eslintrc.[j|t]"
|
||||
],
|
||||
"optionalDependencies": false
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user