forked from dnd-side-project/dnd-10th-1-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 934 Bytes
/
.eslintrc.json
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
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"next/core-web-vitals",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint",
"unused-imports",
"simple-import-sort",
"react",
"react-hooks"
],
"rules": {
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"ft-flow/space-after-type-colon": 0,
"ft-flow/no-types-missing-file-annotation": 0,
"ft-flow/generic-spacing": 0
}
}