-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
executable file
·37 lines (37 loc) · 1.38 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true,
"amd" : true,
"qunit" : true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"consistent-this": ["error", "self"],
"eqeqeq": ["error", "smart"],
"indent": ["warn", 4, { "SwitchCase": 1, "MemberExpression": "off" }],
"linebreak-style": ["error", "unix"],
"no-alert": ["error"],
"no-caller": ["error"],
"no-console": ["error"],
"no-debugger": ["error"],
"no-eval": ["error"],
"no-extend-native": ["error"],
"no-extra-bind": ["error"],
"no-implicit-globals": ["error"],
"no-implied-eval": ["error"],
"no-lone-blocks": ["error"],
"no-new-func": ["error"],
"no-script-url": ["error"],
"no-self-compare": ["error"],
"no-shadow": ["error", { "hoist": "functions" }],
"no-throw-literal": ["error"],
"no-trailing-spaces": ["error"],
"no-undefined": ["error"],
"no-use-before-define": ["error", { "functions": false }],
"semi": ["error", "always"],
"strict": ["error", "function"],
"vars-on-top": ["error"]
}
}