-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
32 lines (32 loc) · 1.06 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true
},
"extends": ["airbnb", "airbnb-typescript", "next/core-web-vitals", "next/typescript", "prettier"],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/semi": "off",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/dot-notation": "off",
"react/jsx-one-expression-per-line": "off",
"react/style-prop-object": "off",
"import/prefer-default-export": "off",
"linebreak-style": 0,
"react/jsx-wrap-multilines": "off",
"arrow-parens": ["error", "as-needed"],
"object-curly-newline": ["error", { "consistent": true }],
"operator-linebreak": "off",
"no-plusplus": "off",
"arrow-body-style": ["error", "as-needed"]
}
}