-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
103 lines (96 loc) · 1.33 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
101
102
103
parser: babel-eslint
plugins:
- react
- html
env:
es6: true
browser: true
commonjs: true
extends: 'eslint:recommended'
ecmaFeatures:
jsx: true
modules: true
experimentalObjectRestSpread: true
parserOptions:
ecmaVersion: 6
sourceType": module
ecmaFeatures:
jsx: true
modules: true
experimentalObjectRestSpread: true
rules:
strict:
- 0
indent:
- 2
- 2
- SwitchCase: 1
quotes:
- 2
- single
linebreak-style:
- 2
- unix
semi:
- 2
- always
no-multi-spaces:
- 2
no-self-compare:
- 2
max-depth:
- 2
- 4
max-nested-callbacks:
- 2
- 4
max-params:
- 2
- 4
max-statements:
- 2
- 25
max-statements-per-line:
- 2
max-len:
- 2
- 120
multiline-ternary:
- 0
callback-return:
- 2
handle-callback-err:
- 2
array-bracket-spacing:
- 2
no-const-assign:
- 2
no-return-assign:
- 2
no-inner-declarations:
- 2
no-var:
- 2
no-console:
- 1
no-lonely-if:
- 2
require-jsdoc:
- 0
- require:
FunctionDeclaration: true
MethodDefinition: true
ClassDeclaration: true
valid-jsdoc:
- 2
comma-dangle:
- 2
- never
no-undef:
- 2
react/jsx-uses-react:
- 2
react/jsx-uses-vars:
- 2
react/jsx-no-undef:
- 2