-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
39 lines (39 loc) · 1.28 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
33
34
35
36
37
38
39
{
"plugins": [
"@typescript-eslint",
"tailwindcss"
],
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:tailwindcss/recommended",
"prettier"
],
"rules": {
"space-before-function-paren": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
"no-use-before-define": "off",
"react/button-has-type": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/no-array-index-key": "off",
"react/jsx-filename-extension": "off",
"import/no-extraneous-dependencies": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"@typescript-eslint/no-use-before-define": [
"error"
],
"@typescript-eslint/explicit-module-boundary-types": "off",
"tailwindcss/classnames-order": "warn",
"tailwindcss/enforces-negative-arbitrary-values": "warn",
"tailwindcss/enforces-shorthand": "warn",
"tailwindcss/migration-from-tailwind-2": "warn",
"tailwindcss/no-arbitrary-value": "off",
"tailwindcss/no-custom-classname": "warn",
"tailwindcss/no-contradicting-classname": "error"
}
}