-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
34 lines (34 loc) · 1000 Bytes
/
.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
{
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:styled-components-a11y/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
],
"ignorePatterns": "**/__generated__/**",
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"root": true,
"settings": {
"import/resolver": {
"node": {
"paths": ["./src"],
"extensions": [".js", ".jsx", ".jsm"],
},
"typescript": true,
},
},
"rules": {
"react/react-in-jsx-scope": "off",
"max-len": [1, 140, 2, { "ignoreComments": true }],
"curly": ["off"],
"object-curly-newline": ["off"],
"react/prop-types": [2],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"@typescript-eslint/ban-ts-comment": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
},
}