forked from peterkhayes/pitchfinder
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
56 lines (56 loc) · 1.74 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
48
49
50
51
52
53
54
55
56
{
"parser": "babel-eslint",
"ecmaFeatures": {
"modules": true
},
"env": {
"browser": false,
"commonjs": true,
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"consistent-return": 0,
"strict": 0,
"no-underscore-dangle": 0,
"no-multi-spaces": 0,
"space-infix-ops": 0,
"quotes": [ 0 ],
"new-cap": 0,
"comma-spacing": 0,
"no-use-before-define": 0,
"camelcase": 0,
"curly": 0,
"no-trailing-spaces": 0,
"key-spacing": 2,
"semi-spacing": 0,
"no-unused-expressions": 0,
"eol-last": 0,
"dot-notation": [2, {"allowPattern": "^NODE_ENV$"}],
"no-extend-native": 0,
"comma-dangle": 0,
"no-redeclare": 2,
"no-shadow": 2,
"no-new-func": 2,
"no-unused-vars": 2,
"semi": [2, "always"],
"no-extra-semi": 2,
"no-debugger": 2, // disallow use of debugger
"no-dupe-keys": 2, // disallow duplicate keys when creating object literals
"no-empty": 2, // disallow empty statements
"no-empty-character-class": 2,// disallow the use of empty character classes in regular expressions
"no-ex-assign": 2, // disallow assigning to the exception in a catch block
"no-func-assign": 2, // disallow overwriting functions written as function declarations
"no-invalid-regexp": 2, // disallow invalid regular expression strings in the RegExp constructor
"no-unreachable": 2, // disallow unreachable statements after a return, throw, continue, or break statement
"no-unexpected-multiline": 2,
"no-undef": 2,
"no-shadow-restricted-names": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-var": 2,
"no-const-assign": 2,
"prefer-const": 2
}
}