-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
82 lines (79 loc) · 1.25 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"impliedStrict": true
}
},
"extends": "eslint:recommended",
"rules": {
"indent": [
2,
"tab"
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
0,
"never"
],
"no-console": 0,
"no-extra-semi": 1,
"comma-dangle": [
1,
"always-multiline"
],
"no-undef": 1,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 1,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-unreachable": 1,
"valid-typeof": 2,
"no-unexpected-multiline": 1,
"no-unused-vars": 1,
"brace-style": [
2,
"1tbs",
{ "allowSingleLine": false }
],
"eol-last": 2,
"no-lonely-if": 1,
"object-curly-spacing": [
2,
"always"
],
"handle-callback-err": 1,
"no-path-concat": 2,
"no-var": 2,
"prefer-const": 1,
"prefer-spread": 1,
"arrow-spacing": [
2,
{ "before": true, "after": true }
]
},
"env": {
"node": true,
"browser": true,
"jquery": true,
"mongo": true,
"mocha": true,
"worker": true,
"meteor": true,
"serviceworker": true,
"es6": true
}
}