Add ignore eslint
This commit is contained in:
parent
2661f00dd4
commit
e82fc8d617
10
.eslintrc.js
10
.eslintrc.js
|
@ -46,7 +46,15 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// There are various vendored libraries that shouldn't be linted
|
// There are various vendored libraries that shouldn't be linted
|
||||||
ignorePatterns: ['public/lib/**/*', '*.min.js', 'src/ai_horde/**/*'],
|
ignorePatterns: [
|
||||||
|
'public/lib/**/*',
|
||||||
|
'*.min.js',
|
||||||
|
'src/ai_horde/**/*',
|
||||||
|
'plugins/**/*',
|
||||||
|
'data/**/*',
|
||||||
|
'backups/**/*',
|
||||||
|
'node_modules/**/*',
|
||||||
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'no-unused-vars': ['error', { args: 'none' }],
|
'no-unused-vars': ['error', { args: 'none' }],
|
||||||
'no-control-regex': 'off',
|
'no-control-regex': 'off',
|
||||||
|
|
Loading…
Reference in New Issue