forked from ndidplatform/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
executable file
·51 lines (50 loc) · 1.05 KB
/
.eslintrc.js
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
module.exports = {
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"plugins": [
"babel"
],
"parser": "babel-eslint",
"rules": {
"indent": [
"off",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"always"
],
"no-console": 0,
"no-unused-vars": 1,
"no-empty": 1,
"no-inner-declarations": 1,
"babel/generator-star-spacing": 1,
"babel/new-cap": 1,
"babel/array-bracket-spacing": 1,
"babel/object-curly-spacing": 0,
"babel/object-shorthand": 1,
"babel/arrow-parens": 1,
"babel/no-await-in-loop": 1,
"babel/flow-object-type": 1
},
"overrides": [
{
"files": [ "*.test.js" ],
"env": {
"mocha": true
}
}
]
};