-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
38 lines (37 loc) · 1.06 KB
/
.eslintrc
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
{
"env": {
"node": true
},
"globals": {
"System": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 5,
"ecmaFeatures": {
"globalReturn": true
},
"sourceType": "script"
},
"rules": {
"semi": "error",
"quotes": ["warn", "single"],
"no-undef": "error",
"no-caller": "error",
"no-console": "error",
"no-use-before-define": ["error", "nofunc"],
"no-multi-spaces": "warn",
"no-underscore-dangle": "off",
"key-spacing": "off",
"keyword-spacing": ["error", {"before": true, "after": true}],
"no-alert": "warn",
"array-callback-return": "warn",
"no-self-assign": "error",
"id-blacklist": ["error", "self"],
"template-curly-spacing": ["error", "never"],
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"comma-dangle": "warn",
"no-extra-semi": "warn",
"no-redeclare": ["error", { "builtinGlobals": false }]
}
}