Require single quotes

This commit is contained in:
valadaptive
2023-12-02 13:04:51 -05:00
parent a06f1e8ad6
commit a37f874e38
76 changed files with 4135 additions and 4134 deletions

View File

@@ -47,14 +47,15 @@ module.exports = {
],
// There are various vendored libraries that shouldn't be linted
ignorePatterns: ['public/lib/**/*', '*.min.js', 'src/ai_horde/**/*'],
// Most, if not all, of these rules should eventually be enabled and the code changed. They're disabled so that
// linting passes.
rules: {
'no-unused-vars': ['error', {args: 'none'}],
'no-control-regex': 'off',
'no-constant-condition': ['error', {checkLoops: false}],
'require-yield': 'off',
'quotes': ['error', 'single'],
// These rules should eventually be enabled.
'no-async-promise-executor': 'off',
'no-inner-declarations': 'off',
'require-yield': 'off',
'no-constant-condition': ['error', {checkLoops: false}]
}
};