-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (44 loc) · 1.14 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
39
40
41
42
43
44
45
46
{
"plugins": [
"scanjs-rules",
"no-unsafe-innerhtml"
],
"env": {
"browser": true
},
"globals": {
"_": true,
"jQuery": false,
"ko": true
},
"rules": {
"indent": [2, 4],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"spaced-comment": [2, "always"],
"valid-jsdoc": [2,{
"prefer": {
"return": "return"
},
"requireReturn": false
}],
"camelcase": [2, {"properties": "always"}],
"no-underscore-dangle": [2, { "allowAfterThis": true, "allow": ["_id", "_rev"] }],
"no-empty": 2,
"no-invalid-regexp": 2,
"no-unreachable": 2,
"block-scoped-var": 2,
"default-case": 2,
"eqeqeq": 2,
"no-alert": 2,
"no-eq-null": 2,
"no-lone-blocks": 2,
"no-unused-vars": 2,
"yoda": 2,
"comma-spacing": [2, { "before": false, "after": true }],
"array-bracket-spacing": [2, "always"],
"eol-last": 2,
"strict": [2, "global"]
}
}