-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
29 lines (29 loc) · 1017 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
{
"extends": [
"next/core-web-vitals",
"airbnb",
"airbnb-typescript",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"rules": {
"import/no-extraneous-dependencies": "off",
"react/button-has-type": "off",
"react/require-default-props": "off",
"react/function-component-definition": ["error", { "namedComponents": "arrow-function" }],
"react/jsx-props-no-spreading": "off",
"@typescript-eslint/no-misused-promises": "warn",
"jsx-a11y/no-redundant-roles": "off",
"@typescript-eslint/no-unsafe-member-access": "warn",
"@typescript-eslint/no-unsafe-return": "warn",
"@typescript-eslint/no-floating-promises": "off",
"react/react-in-jsx-scope": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "warn"
},
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["tailwind.config.ts", "next.config.mjs", "postcss.config.js"]
}