forked from Laboratoria/LIM009-data-lovers
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
49 lines (49 loc) · 1.14 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
{
"env": {
"browser": true
},
"parserOptions": {
"ecmaVersion": 6
},
"extends": "eslint:recommended",
"globals": {
"example": false,
"showArrBoat" :false,
"showArrTrain":false,
"filterData":false,
"sortData":false,
"computeStats":false,
"computeSumaTrains":false,
"INJURIES":false,
"data":false
},
"rules": {
"allowTernary": true,
"linebreak-style": 0,
"global-require": 0,
"keyword-spacing": 1,
"space-before-function-paren": [1, "never"],
"arrow-spacing": ["error", { "before": true, "after": true }],
"eqeqeq": 1,
"space-infix-ops": 1,
"comma-spacing": 1,
"brace-style": 1,
"no-multiple-empty-lines": 1,
"camelcase": 1,
"func-call-spacing": 1,
"key-spacing": 1,
"semi": 1,
"no-floating-decimal": 1,
"no-multi-spaces": 1,
"padded-blocks": [1, "never"],
"space-before-blocks": 1,
"space-in-parens": 1,
"spaced-comment": 1,
"quotes": [1, "single"],
"id-length": [1, { "exceptions": ["i", "j", "x"] }],
"indent": [1, 2],
"no-array-constructor": 1,
"no-const-assign": "error",
"no-var": "error"
}
}