-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
29 lines (27 loc) · 996 Bytes
/
.eslintrc.cjs
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
module.exports = {
extends: [
"@kachkaev/eslint-config-react",
"@kachkaev/eslint-config-react/extra-type-checking",
"plugin:@next/next/recommended",
"plugin:tailwindcss/recommended",
],
rules: {
// @todo re-enable
"@typescript-eslint/naming-convention": "off", // GET / POST in handlers
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"tailwindcss/classnames-order": "error",
"tailwindcss/enforces-negative-arbitrary-values": "error",
"tailwindcss/enforces-shorthand": "error",
"tailwindcss/no-custom-classname": "error",
"func-style": "off",
"id-length": "off",
"import/no-default-export": "off",
"react/react-in-jsx-scope": "off",
"unicorn/import-style": "off",
"no-restricted-syntax": "off",
},
};