-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
100 lines (100 loc) · 1.92 KB
/
.eslintrc.yml
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
env:
es6: true
parserOptions:
ecmaFeatures:
jsx: true
extends:
- eslint:recommended
globals:
$: true
I18n: true
console: true
rules:
array-bracket-spacing: error
arrow-body-style: error
arrow-spacing: error
block-spacing: error
brace-style: error
camelcase: error
capitalized-comments: error
comma-spacing: error
comma-style: error
computed-property-spacing: error
consistent-this:
- error
- self
curly: error
eqeqeq: error
func-call-spacing: error
func-name-matching: error
func-style: error
function-paren-newline:
- error
- consistent
implicit-arrow-linebreak: error
indent:
- error
- 2
jsx-quotes: error
key-spacing: error
keyword-spacing: error
max-len:
- error
-
code: 110
multiline-comment-style: error
new-cap: error
new-parens: error
no-multi-spaces: error
no-multiple-empty-lines:
- error
-
max: 1
no-unneeded-ternary: error
no-unused-vars: 0
no-var: error
no-whitespace-before-property: error
object-curly-newline:
- error
-
consistent: true
object-curly-spacing: error
padded-blocks:
- error
- never
quotes: error
react/destructuring-assignment: 0
react/jsx-closing-bracket-location:
- error
- after-props
react/jsx-indent:
- error
- 2
react/jsx-indent-props:
- error
- 2
react/jsx-max-depth:
- error
-
max: 3
react/jsx-no-undef: 0
react/jsx-wrap-multilines: error
react/no-set-state: 0
react/react-in-jsx-scope: 0
react/require-optimization: 0
rest-spread-spacing: error
semi: error
semi-spacing: error
space-before-blocks: error
space-before-function-paren:
- error
- never
space-in-parens: error
space-infix-ops: error
space-unary-ops: error
spaced-comment: error
switch-colon-spacing: error
template-curly-spacing: error
template-tag-spacing: error
vars-on-top: error
yield-star-spacing: error