generated from lekipising/next-tailwind-typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
30 lines (30 loc) · 784 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
{
"plugins": ["@typescript-eslint", "react", "prettier"],
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@next/next/recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"import/no-anonymous-default-export": "off",
"no-unused-vars": "error",
"no-undef": "error",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"react/no-unknown-property": "off"
}
}
],
"settings": {
"react": {
"version": "detect"
}
}
}