forked from invinst/watts-new-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
85 lines (85 loc) · 1.78 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
83
84
85
{
"parser": "babel-eslint",
"rules": {
"indent": [
2,
2,
{"SwitchCase": 2}
],
"quotes": [
2,
"single"
],
"semi": [
2,
"always"
],
"no-unused-vars": [
2,
{
"args": "none"
}
],
"no-multi-spaces": [
2
],
"max-len": [
2,
120,
2
],
"jsx-quotes": [
2,
"prefer-single"
],
"camelcase": [
2,
{"properties": "always"}
],
"eol-last": [
2
],
"no-trailing-spaces": [
2
],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"keyword-spacing": 2,
"space-before-blocks": 2,
"vars-on-top": 2,
"comma-spacing": 2,
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"object-curly-spacing": [2, "always"],
"computed-property-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"]
},
"env": {
"browser": true,
"node": true,
"jquery": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": [
"eslint:recommended"
],
"globals": {
"Intercom": false,
"LIVE_TEST": false,
"browser": false,
"Promise": false
}
}