This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
97 lines (93 loc) · 2.06 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
ecmaFeatures:
arrowFunctions: true
binaryLiterals: true
blockBindings: true
defaultParams: true
destructuring: true
forOf: true
modules: true
objectLiteralComputedProperties: true
objectLiteralDuplicateProperties: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
octalLiterals: true
restParams: true
spread: true
templateStrings: true
jsx: true
experimentalObjectRestSpread: true
rules:
array-bracket-spacing:
- 1
- "never"
brace-style:
- 1
- "1tbs"
- allowSingleLine: true
semi:
- 2
- "never"
no-duplicate-case: 2
no-extra-parens: 1
no-extra-semi: 2
no-func-assign: 2
no-inner-declarations: 2
no-invalid-regexp: 2
no-irregular-whitespace: 2
no-unreachable: 2
no-unused-vars:
- 2
- vars: "local"
args: "after-used"
valid-typeof: 2
curly: 2
eqeqeq:
- 2
- "smart"
no-new: 2
block-spacing:
- 1
- "always"
comma-spacing:
- 1
- before: false
after: true
no-trailing-spaces: 1
no-spaced-func: 1
no-multiple-empty-lines:
- 1
- max: 2
maxEOF: 1
key-spacing:
- 1
- beforeColon: false
afterColon: true
no-mixed-spaces-and-tabs: 1
space-after-keywords:
- 1
- "always"
jsx-quotes:
- 2
- "prefer-single"
react/display-name: 0
react/display-name: 0
react/jsx-boolean-value: 2
react/jsx-no-duplicate-props: 2
react/jsx-no-undef: 2
react/jsx-sort-prop-types: 0
react/jsx-sort-props: 0
react/jsx-uses-react: 2
react/jsx-uses-vars: 2
react/no-did-mount-set-state: 0
react/no-did-update-set-state: 2
react/no-multi-comp: 0
react/no-unknown-property: 2
react/prop-types: 2
react/react-in-jsx-scope: 0
react/self-closing-comp: 2
react/sort-comp: 0
react/wrap-multilines: 0
environment:
commonjs: true
plugins:
- "react"