Made prelimenary switch to airbnb-base
This commit is contained in:
72
.eslintrc.js
72
.eslintrc.js
@@ -1,26 +1,50 @@
|
||||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"globals": {
|
||||
"module": "readonly",
|
||||
"Game": "writable",
|
||||
"l": "readonly",
|
||||
"b64_to_utf8": "readonly",
|
||||
"utf8_to_b64": "readonly",
|
||||
"Beautify": "writable",
|
||||
"realAudio": "readonly",
|
||||
"JSColor": "readonly",
|
||||
"jscolor": "readonly",
|
||||
"BeautifyAll": "readonly",
|
||||
"CM": "writable",
|
||||
"unsafeWindow": "readonly",
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 12
|
||||
},
|
||||
"rules": {
|
||||
}
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
},
|
||||
globals: {
|
||||
module: 'readonly',
|
||||
Game: 'writable',
|
||||
l: 'readonly',
|
||||
b64_to_utf8: 'readonly',
|
||||
utf8_to_b64: 'readonly',
|
||||
Beautify: 'writable',
|
||||
realAudio: 'readonly',
|
||||
JSColor: 'readonly',
|
||||
jscolor: 'readonly',
|
||||
BeautifyAll: 'readonly',
|
||||
CM: 'writable',
|
||||
unsafeWindow: 'readonly',
|
||||
},
|
||||
extends: 'airbnb-base',
|
||||
parserOptions: {
|
||||
ecmaVersion: 12,
|
||||
},
|
||||
rules: {
|
||||
indent: ['error', 'tab'],
|
||||
'no-tabs': 'off',
|
||||
'max-len': 'off',
|
||||
'no-param-reassign': 'off',
|
||||
'no-plusplus': 'off',
|
||||
'no-new-func': 'off',
|
||||
'no-eval': 'off',
|
||||
'no-restricted-properties': 'off',
|
||||
'no-restricted-syntax': 'off',
|
||||
'no-mixed-operators': 'off',
|
||||
'prefer-destructuring': 'off',
|
||||
'func-names': 'off',
|
||||
'no-use-before-define': 'off',
|
||||
'no-console': 'off',
|
||||
'no-nested-ternary': 'off',
|
||||
'object-shorthand': 'off',
|
||||
'no-else-return': 'off',
|
||||
'prefer-arrow-callback': 'off',
|
||||
'no-new': 'off',
|
||||
'no-alert': 'off',
|
||||
'new-cap': 'off',
|
||||
'no-restricted-globals': 'off',
|
||||
'no-template-curly-in-string': 'off',
|
||||
radix: 'off',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user