-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
53 lines (53 loc) · 1.41 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@next/next/recommended",
"plugin:storybook/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"plugins": ["@typescript-eslint", "prettier", "unused-imports"],
"rules": {
"quotes": [
"warn",
"double",
{
"avoidEscape": true
}
],
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"printWidth": 120
}
],
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"unused-imports/no-unused-imports": "error",
"object-shorthand": ["error", "always"],
"no-trailing-spaces": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"react-hooks/exhaustive-deps": "off",
"@next/next/no-img-element": "off"
},
"ignorePatterns": ["**/node_modules/*", "**/__generated/*", "**/.next/*", "tooling/*"]
}