-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
54 lines (54 loc) · 916 Bytes
/
.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
env:
browser: true
es2021: true
extends:
- airbnb
- plugin:react/recommended
- plugin:react-hooks/recommended
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: latest
sourceType: module
plugins:
- react
- '@typescript-eslint'
rules:
arrow-body-style:
- warn
arrow-parens:
- warn
- as-needed
consistent-return:
- off
import/extensions: off
import/no-unresolved: off
linebreak-style:
- warn
- windows
no-multiple-empty-lines:
- warn
no-param-reassign:
- warn
no-plusplus:
- off
no-shadow:
- warn
no-undef:
- warn
no-unused-vars:
- warn
react/button-has-type:
- warn
react/function-component-definition:
- error
- namedComponents: arrow-function
react/jsx-filename-extension:
- error
- extensions:
- '.tsx'
react/jsx-props-no-spreading:
- warn
react/require-default-props:
- off