forked from spencermountain/compromise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.21 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
{
"root": true,
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {}
},
"extends": [],
"rules": {
"semi": ["warn", "never"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"spaced-comment": 0,
"no-cond-assign": 2,
"no-var": 1,
"prefer-const": 0,
"no-extra-parens": 0,
"no-dupe-keys": 2,
"no-undef": 2,
"no-unreachable": 2,
"eqeqeq": 1,
"keyword-spacing": 0,
"no-native-reassign": 2,
"no-redeclare": 2,
"radix": 1,
"quotes": [0, "single", "avoid-escape"],
"no-shadow": 2,
"no-unused-vars": 1,
"no-lonely-if": 1,
"no-use-before-define": 2,
"no-bitwise": 2,
"no-dupe-class-members": 2,
"guard-for-in": 1,
"consistent-return": 2,
"no-octal-escape": 2,
"no-constant-condition": 1,
"no-unused-expressions": 2,
"comma-dangle": [1, "only-multiline"],
"space-before-function-paren": 0,
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
]
}
}