forked from planttheidea/react-style-tag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
115 lines (115 loc) · 2.67 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
109
110
111
112
113
114
115
{
"env":{
"amd": true,
"browser": true,
"es6": true,
"node": true
},
"globals": {
"process": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures":{
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"experimentalObjectRestSpread": true,
"forOf": true,
"generators": true,
"globalReturn": true,
"jsx": true,
"modules": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"rules":{
"arrow-parens": 2,
"arrow-spacing": [2, {
"after": true,
"before": true
}],
"brace-style": [2, "1tbs", {
"allowSingleLine": true
}],
"comma-dangle": 2,
"comma-spacing": [2, {
"after": true,
"before": false
}],
"computed-property-spacing": [2, "never"],
"constructor-super": 2,
"curly": 2,
"eol-last": 2,
"eqeqeq": 2,
"keyword-spacing": [2, {
"after": true
}],
"newline-after-var": 2,
"generator-star-spacing":0,
"jsx-quotes": [2, "prefer-double"],
"no-array-constructor": 2,
"no-caller": 1,
"no-class-assign": 2,
"no-console": 1,
"no-const-assign": 2,
"no-dupe-args": 2,
"no-dupe-class-members": 2,
"no-dupe-keys": 2,
"no-empty": 2,
"no-eval": 2,
"no-implied-eval": 2,
"no-native-reassign": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-symbol": 2,
"no-obj-calls": 2,
"no-proto": 2,
"no-this-before-super": 2,
"no-undef": 2,
"no-unexpected-multiline": 1,
"no-unreachable": 2,
"no-useless-call": 2,
"no-useless-concat": 2,
"no-unused-expressions": 2,
"no-unused-vars": [1, {
"vars":"all",
"varsIgnorePattern": "React|[iI]gnored"
}],
"no-whitespace-before-property": 2,
"quotes": [2, "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"radix": 2,
"semi": [2, "always"],
"space-before-blocks": [2, {
"classes": "always",
"functions": "always",
"keywords": "always"
}],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {
"nonwords": false,
"words": true
}],
"template-curly-spacing": [2, "never"],
"valid-jsdoc": [1, {
"requireReturn": false,
"requireParamDescription": false,
"requireReturnDescription": false
}],
"valid-typeof": 2,
"yield-star-spacing": [2, "after"]
}
}