forked from fram-x/ArtsApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·55 lines (55 loc) · 1.16 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
{
"parser": "babel-eslint",
"plugins": [
],
"env": {
"browser": true,
"node": true
},
"globals": {
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandProperties": true,
"objectLiteralShorthandMethods": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"rules": {
"brace-style": [2, "stroustrup"],
"consistent-return": 2,
"curly": [2, "multi-line"],
"dot-notation": 2,
"eol-last": 2,
"indent": [2, 2],
"no-else-return": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-param-reassign": 2,
"no-self-compare": 2,
"no-shadow": 0,
"no-throw-literal": 2,
"no-underscore-dangle": 0,
"quotes": [2, "single"],
"strict": 0,
"vars-on-top": 2,
"wrap-iife": 2,
"semi": [2, "always"],
"no-trailing-spaces": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-infix-ops": 2,
"spaced-comment": 2
}
}