-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
119 lines (119 loc) · 2.3 KB
/
.eslintrc
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
{
"extends": [
"next",
"next/core-web-vitals",
"eslint:all",
"plugin:react/all",
"plugin:import/errors",
"plugin:import/warnings"
],
"env": {
"browser": true,
"es2020": true,
"node": true,
"jest": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": 0,
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"sort-imports": 0,
"linebreak-style": 0,
"multiline-ternary": 0,
"require-await": 0,
"func-style": 0,
"class-methods-use-this": 0,
"sort-keys-fix/sort-keys-fix": "warn",
"max-len": 0,
"no-magic-numbers": 0,
"react/forbid-component-props": 0,
"react/jsx-wrap-multilines": 0,
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"no-ternary": 0,
"max-lines-per-function": 0,
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"function-call-argument-newline": 0,
"padded-blocks": 0,
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": "*",
"next": "return"
},
{
"blankLine": "always",
"prev": [
"const",
"let",
"var"
],
"next": "*"
},
{
"blankLine": "any",
"prev": [
"const",
"let",
"var"
],
"next": [
"const",
"let",
"var"
]
}
],
"object-curly-spacing": [
"error",
"always"
],
"one-var": [
"error",
"never"
],
"quote-props": 0,
"react/prop-types": 0,
"react/jsx-indent": 0,
"react/jsx-indent-props": [
2,
2
],
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-no-literals": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-max-depth": 0,
"react/jsx-newline": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-closing-tag-location": 0
},
"plugins": [
"sort-keys-fix",
"simple-import-sort"
],
"ignorePatterns": [
"node_modules/",
".next/"
]
}