-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
33 lines (33 loc) · 656 Bytes
/
.eslintrc.json
File metadata and controls
33 lines (33 loc) · 656 Bytes
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
{
"extends": [
"next/core-web-vitals",
"plugin:prettier/recommended"
],
"plugins": [
"unused-imports"
],
"rules": {
"@next/next/no-img-element": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"array-element-newline": [
"error",
{
"ArrayExpression": "consistent",
"ArrayPattern": {
"minItems": 3
}
}
]
}
}