mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-13 23:29:36 -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',
|
||||
},
|
||||
],
|
||||
'import/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{
|
||||
devDependencies: [
|
||||
'eslint.config.*',
|
||||
'**/*.config.*',
|
||||
'**/*.test.*',
|
||||
'**/*.spec.*',
|
||||
'gulpfile.*',
|
||||
'tests/**/*',
|
||||
'gulp/**/*',
|
||||
'datagenerators/**/*',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
ignorePatterns: [
|
||||
'*.min.js',
|
||||
|
||||
Reference in New Issue
Block a user