forked from ericelliott/todotasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.51 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
47
{
"env": {
"browser": true,
"node": true,
"amd": false,
"mocha": false,
"jasmine": false
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": [0],
"comma-style": [2, "last"],
"consistent-return": [0],
"default-case": [2],
"dot-notation": [2, { "allowKeywords": false }],
"eol-last": [2],
"func-style": [0, "expression"],
"quotes": [2, "single", "avoid-escape"],
"key-spacing": [0],
"new-cap": [0],
"no-constant-condition": [1],
"no-floating-decimal": [2],
"no-extend-native": [0],
"no-extra-parens": [0],
"no-lonely-if": [2],
"no-native-reassign": [0],
"no-nested-ternary": [0],
"no-new": [0],
"no-reserved-keys": [2],
"no-shadow": [2],
"no-unused-vars": [1, { "vars": "local", "args": "after-used" }],
"space-after-function-name": [2, "never"],
"space-after-keywords": [2, "always", { "checkFunctionKeyword": true }],
"space-in-brackets": [0, "always", {
"singleValue": false,
"arraysInArrays": false,
"arraysInObjects": false
}],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-line-comment": [0, "always"],
"strict": [1],
"wrap-iife": [2, "inside"],
"wrap-regex": [2],
"yoda": [2, "never", { "exceptRange": true }]
}
}