Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
14
.eslintrc.js
14
.eslintrc.js
@@ -4,15 +4,11 @@ module.exports = {
|
||||
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',
|
||||
@@ -23,28 +19,22 @@ module.exports = {
|
||||
},
|
||||
rules: {
|
||||
indent: ['error', 'tab'],
|
||||
'import/no-named-default': 'off',
|
||||
'import/no-mutable-exports': 'off',
|
||||
'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