This repository has been archived by the owner on Jan 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
.eslintrc.yml
142 lines (142 loc) · 3.5 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
---
parser: babel-eslint
extends:
- eslint:recommended
- plugin:import/recommended
plugins:
- react
- import
- class-property
env:
es6: true
browser: true
node: true
parserOptions:
sourceType: module
ecmaFeatures:
jsx: true
rules:
import/unambiguous: off
arrow-parens: off
arrow-spacing: error
brace-style: [error, 1tbs, {allowSingleLine: true}]
comma-dangle: off
comma-spacing: error
comma-style: [error, last]
consistent-return: error
constructor-super: error
curly: [error, multi-line]
default-case: error
dot-notation: error
eol-last: error
eqeqeq: error
indent: [error, 4, {SwitchCase: 1}]
jsx-quotes: [error, prefer-double]
linebreak-style: [error, unix]
key-spacing: [error, {beforeColon: false, afterColon: true}]
new-parens: error
new-cap: [error, {newIsCap: true, capIsNew: false}]
no-alert: off
no-array-constructor: error
no-caller: error
no-catch-shadow: off
no-class-assign: error
no-cond-assign: error
no-const-assign: error
no-console: error
no-constant-condition: 1
no-continue: error
no-debugger: error
no-delete-var: error
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty: error
no-eval: error
no-extend-native: error
no-extra-bind: error
no-extra-boolean-cast: error
no-extra-semi: error
no-fallthrough: error
no-floating-decimal: error
no-implied-eval: error
no-inner-declarations: [error, both]
no-invalid-regexp: error
no-irregular-whitespace: error
no-iterator: error
no-labels: error
no-lone-blocks: error
no-lonely-if: error
no-loop-func: error
no-mixed-spaces-and-tabs: error
no-multi-spaces: error
no-native-reassign: error
no-negated-in-lhs: error
no-new: error
no-new-func: error
no-new-object: error
no-new-wrappers: error
no-obj-calls: error
no-octal: error
no-proto: error
no-redeclare: error
no-return-assign: error
no-shadow: off
no-shadow-restricted-names: error
no-spaced-func: error
no-sparse-arrays: error
no-this-before-super: error
no-trailing-spaces: error
no-undef: error
no-undef-init: error
no-underscore-dangle: error
no-unreachable: error
no-unused-expressions: error
no-unused-vars: [error, {vars: all, args: after-used}]
no-use-before-define: error
no-var: error
no-with: error
operator-linebreak: [error, before]
prefer-const: 1
prefer-spread: 1
prefer-arrow-callback: 1
prefer-template: 1
quotes: [error, single, avoid-escape]
semi: [error, always]
semi-spacing: error
keyword-spacing: error
space-before-function-paren: [error, {anonymous: always, named: never}]
space-in-parens: [error, never]
space-infix-ops: [error, {int32Hint: true}]
space-unary-ops: error
strict: [error, global]
use-isnan: error
valid-typeof: error
wrap-iife: [error, inside]
wrap-regex: error
yoda: off
react/display-name: off
react/forbid-prop-types: off
react/jsx-boolean-value: 1
react/jsx-closing-bracket-location: 1
react/jsx-curly-spacing: 1
react/jsx-indent-props: 1
react/jsx-max-props-per-line: off
react/jsx-no-duplicate-props: 1
react/jsx-no-literals: off
react/jsx-no-undef: 1
react/jsx-uses-react: 1
react/jsx-uses-vars: 1
react/no-danger: 1
react/no-did-mount-set-state: off
react/no-did-update-set-state: 1
react/no-direct-mutation-state: 1
react/no-multi-comp: off
react/no-set-state: off
react/no-unknown-property: 1
react/prop-types: off
react/react-in-jsx-scope: 1
react/self-closing-comp: 1
react/sort-comp: 1
class-property/rule-name: off
...