forked from heyxyz/hey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 921 Bytes
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"unused-imports",
"simple-import-sort",
"prettier"
],
"extends": ["next", "next/core-web-vitals"],
"rules": {
"prettier/prettier": "error",
"react/prop-types": "off",
"react/no-unescaped-entities": "off",
"react/jsx-no-useless-fragment": 2,
"no-unused-vars": "warn",
"unused-imports/no-unused-imports": "error",
"@next/next/no-html-link-for-pages": "off",
"@typescript-eslint/ban-ts-comment": "off", // turn warn
"@typescript-eslint/explicit-module-boundary-types": "off",
"@next/next/no-img-element": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"jsx-a11y/role-supports-aria-props": "off"
},
"ignorePatterns": ["/src/generated/types.ts"]
}