mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-11-28 18:28:04 -08:00
Add rule to allow devDependencies in dev-related config files
This commit is contained in:
1 parent
804d9e9e33
commit
ee4f84689a
1 file changed
+15
@@ -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