mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
37 lines
750 B
JavaScript
37 lines
750 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
commonjs: true,
|
|
es6: true
|
|
},
|
|
extends: "eslint:recommended",
|
|
globals: {
|
|
Atomics: "readonly",
|
|
SharedArrayBuffer: "readonly",
|
|
MCSERVER: "writeable",
|
|
__dirname: "writeable",
|
|
Buffer: "writeable",
|
|
Vue: "readonly",
|
|
MI: "writeable",
|
|
MS: "writeable",
|
|
TOOLS: "writeable",
|
|
VIEW_MODEL: "writeable",
|
|
RES: "readonly",
|
|
PAGE: "writeable",
|
|
$: "writeable",
|
|
WS: "readonly",
|
|
hex_md5: "readonly",
|
|
process: "readonly"
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2018
|
|
},
|
|
rules: {
|
|
"no-unused-vars": "warn",
|
|
"no-use-before-define": "warn",
|
|
"no-undef": "warn",
|
|
"no-use-before-define": "off",
|
|
"no-prototype-builtins": "off"
|
|
}
|
|
};
|