forked from electerm/electerm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
108 lines (108 loc) · 2.23 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"globals": {
"debug": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"it": true,
"log": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"arrowFunctions": true,
"destructuring": true,
"classes": true,
"defaultParams": true,
"blockBindings": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"forOf": true,
"generators": true,
"templateStrings": true,
"superInFunctions": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"import",
"promise",
"compat"
],
"rules": {
"indent": [
1,
2,
{
"SwitchCase": 1
}
],
"eol-last": 1,
"eqeqeq": [
1,
"allow-null"
],
"comma-style": [
1,
"last"
],
"linebreak-style": [
1,
"unix"
],
"quotes": [
1,
"single"
],
"semi": [
1,
"never"
],
"no-extra-semi": 0,
"semi-spacing": 0,
"no-alert": 0,
"no-array-constructor": 1,
"no-caller": 1,
"no-catch-shadow": 0,
"no-cond-assign": 1,
"no-console": 0,
"no-constant-condition": 0,
"no-continue": 0,
"no-control-regex": 1,
"no-debugger": 1,
"no-delete-var": 1,
"no-mixed-spaces-and-tabs": 1,
"no-unused-vars": 1,
"comma-dangle": 1,
"react/prefer-es6-class": 1,
"react/no-multi-comp": 0,
"react/prefer-stateless-function": 0,
"react/jsx-pascal-case": 1,
"react/jsx-closing-bracket-location": 1,
"jsx-quotes": 1,
"react/jsx-curly-spacing": 1,
"react/jsx-boolean-value": 1,
"react/no-string-refs": 0,
"react/self-closing-comp": 1,
"react/jsx-no-bind": [1, { "allowArrowFunctions": true }],
"react/require-render-return": 1,
"react/sort-comp": 1,
"react/jsx-uses-vars": 1,
"react/jsx-no-undef": 1
}
}