-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
33 lines (33 loc) · 957 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb",
"airbnb-typescript",
"plugin:prettier/recommended",
"next/core-web-vitals"
],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/ban-ts-comment": "warn",
"no-nested-ternary": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"react/no-array-index-key": "off",
"react-hooks/exhaustive-deps": "off",
"import/prefer-default-export": "off",
"react/display-name": "off",
"no-console": "warn"
}
}