2022-04-12 13:48:22 -07:00
|
|
|
{
|
2022-11-19 11:20:36 -08:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": ["@typescript-eslint", "react-hooks"],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"prettier"
|
|
|
|
],
|
2022-07-11 20:00:22 -07:00
|
|
|
"rules": {
|
2022-11-19 11:20:36 -08:00
|
|
|
"react/react-in-jsx-scope": 0,
|
|
|
|
"@next/next/no-img-element": 0,
|
2022-12-08 10:23:26 -08:00
|
|
|
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
|
|
|
|
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
|
2022-11-19 11:20:36 -08:00
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"argsIgnorePattern": "^_"
|
|
|
|
}
|
|
|
|
]
|
2022-07-11 20:00:22 -07:00
|
|
|
}
|
2022-04-12 13:48:22 -07:00
|
|
|
}
|