-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
33 lines (33 loc) · 992 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,
"extends": ["eslint:recommended", "next/core-web-vitals"],
"plugins": ["prettier"],
"parserOptions": { "sourceType": "module" },
"env": {
"es6": true
},
"rules": {
"@next/next/no-html-link-for-pages": [2, "./client/pages"],
"eqeqeq": ["error", "smart"],
"import/no-anonymous-default-export": "off",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"no-cond-assign": ["error", "always"],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-restricted-imports": [
"error",
{
"patterns": ["@material-ui/*/*/*", "!@material-ui/core/test-utils/*"]
}
],
"prettier/prettier": "error",
"quotes": ["error", "single", { "avoidEscape": true }],
"react-hooks/exhaustive-deps": "off",
"react-hooks/rules-of-hooks": "error",
"react/jsx-uses-react": "off",
"react/no-unescaped-entities": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"semi": ["error", "always"]
}
}