-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
37 lines (37 loc) · 957 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
34
35
36
37
{
"extends": [
"next/core-web-vitals",
"airbnb",
"airbnb-typescript",
"plugin:prettier/recommended"
],
"parserOptions": { "project": "./tsconfig.json" },
"ignorePatterns": ["next.config.mjs"],
"rules": {
"react/function-component-definition": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
"react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": [
2,
{
"labelAttributes": ["htmlFor"]
}
],
"import/prefer-default-export": "off",
"jsx-a11y/control-has-associated-label": "off",
"jsx-a11y/no-noninteractive-tabindex": "off",
"react/require-default-props": "off",
"no-else-return": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}