-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
68 lines (68 loc) · 1.78 KB
/
.eslintrc.yaml
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
plugins: [react-prefer-function-component, '@typescript-eslint']
extends:
- flying-sheep
- eslint-config-airbnb/hooks
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- plugin:react-prefer-function-component/recommended
- plugin:react/jsx-runtime
- eslint-config-prettier
env:
browser: true
es6: true
parser: '@typescript-eslint/parser'
parserOptions:
project: true
sourceType: module
ecmaFeatures:
jsx: true
ignorePatterns: [/dist/*, /**/*.css.d.ts]
settings:
import/external-module-folders: [.yarn]
rules:
consistent-return: 0
react/jsx-filename-extension:
- 1
- extensions: [.jsx, .tsx]
import/no-unresolved: 0
import/extensions: 0
import/order:
- error
- alphabetize:
order: asc
newlines-between: always
pathGroups:
- pattern: '@mui/system/**/*'
group: external
position: after
- pattern: '@mui/material/**/*'
group: external
position: after
- pattern: '@mui/icons-material/**/*'
group: external
position: after
pathGroupsExcludedImportTypes: []
no-continue: 0
no-shadow: 0
'@typescript-eslint/no-shadow': error
no-use-before-define: 0
dot-notation: 0
'@typescript-eslint/dot-notation':
- error
- allowIndexSignaturePropertyAccess: false
'@typescript-eslint/no-unused-vars':
- error
- ignoreRestSiblings: true
'@typescript-eslint/no-non-null-assertion': 0
'@typescript-eslint/member-delimiter-style':
- error
- singleline:
delimiter: semi
multiline:
delimiter: none
react/function-component-definition:
- error
- namedComponents: arrow-function
react/require-default-props: 0
react/jsx-props-no-spreading: 0
root: true