-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
28 lines (28 loc) · 872 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
{
"extends": "next/core-web-vitals",
"plugins": ["jsx-a11y", "react-hooks", "react"],
"rules": {
"react/no-unknown-property": [
"warn",
{
"ignore": ["css", "tw"]
}
],
"react/jsx-filename-extension": [
2,
{ "extensions": [".js", ".jsx", ".ts", ".tsx"] }
],
"react/jsx-key": ["warn", { "checkFragmentShorthand": true }],
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/react-in-jsx-scope": "off",
"react/no-array-index-key": "warn",
"react/no-children-prop": "warn",
"react/no-unescaped-entities": "off",
"react/self-closing-comp": "error",
"jsx-a11y/anchor-is-valid": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-static-element-interactions": "warn"
}
}