Files
nirvana/packages/web/.eslintrc.json
T

25 lines
645 B
JSON

{
"plugins": ["@typescript-eslint", "react-hooks"],
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier",
"eslint:recommended"
],
"rules": {
// I suggest you add those two rules:
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn"],
"@typescript-eslint/no-explicit-any": "error",
"prefer-const": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": [
"warn",
{
"additionalHooks": "(useRecoilCallback|useRecoilTransaction_UNSTABLE)"
}
]
},
"parser": "@typescript-eslint/parser"
}