41 lines
853 B
JavaScript
41 lines
853 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
globals: {
|
|
Game: 'writable',
|
|
l: 'readonly',
|
|
b64_to_utf8: 'readonly',
|
|
utf8_to_b64: 'readonly',
|
|
realAudio: 'readonly',
|
|
BeautifyAll: 'readonly',
|
|
CM: 'writable',
|
|
unsafeWindow: 'readonly',
|
|
},
|
|
extends: 'airbnb-base',
|
|
parserOptions: {
|
|
ecmaVersion: 12,
|
|
},
|
|
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-restricted-syntax': 'off',
|
|
'no-mixed-operators': 'off',
|
|
'prefer-destructuring': 'off',
|
|
'func-names': 'off',
|
|
'no-console': 'off',
|
|
'no-nested-ternary': 'off',
|
|
'prefer-arrow-callback': 'off',
|
|
'no-new': 'off',
|
|
'no-alert': 'off',
|
|
'no-restricted-globals': 'off',
|
|
},
|
|
};
|