-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslintjs
39 lines (38 loc) · 888 Bytes
/
eslintjs
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
37
38
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"allowImportExportEverywhere": true,
},
"env": {
"browser": true,
"node": true,
},
"rules": {
"no-console": "off",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"functions": "always-multiline",
"imports": "never",
"exports": "never",
}],
"eqeqeq": ["error", "smart"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always",
}],
"keyword-spacing": ["error", { "overrides": {
"if": { "after": false },
"for": { "after": false },
"while": { "after": false },
}}],
"semi": ["error", "always"],
},
"globals": {
"Socket": true,
"Common": true
},
}