Add rule to allow devDependencies in dev-related config files
This commit is contained in:
parent
804d9e9e33
commit
ee4f84689a
1 changed files with 15 additions and 0 deletions
|
|
@ -105,6 +105,21 @@ export default [{
|
||||||
json: 'always',
|
json: 'always',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
'import/no-extraneous-dependencies': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
devDependencies: [
|
||||||
|
'eslint.config.*',
|
||||||
|
'**/*.config.*',
|
||||||
|
'**/*.test.*',
|
||||||
|
'**/*.spec.*',
|
||||||
|
'gulpfile.*',
|
||||||
|
'tests/**/*',
|
||||||
|
'gulp/**/*',
|
||||||
|
'datagenerators/**/*',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
ignorePatterns: [
|
ignorePatterns: [
|
||||||
'*.min.js',
|
'*.min.js',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue