mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
Add rule to allow devDependencies in dev-related config files
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user