-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy path.eslintrc
37 lines (32 loc) · 799 Bytes
/
.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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"rules": {
"strict": 0,
"quotes": [2, "single"],
"curly": [2, "multi-line"],
"no-underscore-dangle": 0,
"comma-dangle": 0,
"consistent-return": 0,
// Doesn't work with classes
// https://github.com/babel/babel-eslint/issues/8
"no-undef": 0,
// Doesn't work inside ES6 template strings
"comma-spacing": 0,
// Doesn't work with await
// https://github.com/babel/babel-eslint/issues/22
"no-unused-expressions": 0,
// Doesn't work with ES6 classes
// https://github.com/babel/babel-eslint/issues/8
"no-unused-vars": 0,
"no-empty": 0,
"no-use-before-define": [2, "nofunc"]
},
"globals": {
"expect": true
}
}