forked from MCSManager/MCSManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
36 lines (36 loc) · 750 Bytes
/
.eslintrc.js
File metadata and controls
36 lines (36 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
}
};