-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.json
27 lines (27 loc) · 763 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals"
],
"plugins": ["validate-jsx-nesting"],
"rules": {
"@next/next/no-img-element": "off",
"react/no-unescaped-entities": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-explicit-any": "off",
"jsx-a11y/alt-text": "off",
"validate-jsx-nesting/no-invalid-jsx-nesting": "error"
}
}