Add ignore eslint

This commit is contained in:
Cohee 2024-04-13 13:29:52 +03:00
parent 2661f00dd4
commit e82fc8d617
1 changed files with 9 additions and 1 deletions

View File

@ -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',