32 lines
747 B
JSON
32 lines
747 B
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": [
|
|
"next",
|
|
"prettier",
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:tailwindcss/recommended"
|
|
],
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"react/react-in-jsx-scope": 0,
|
|
"@next/next/no-img-element": 0,
|
|
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
|
|
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
2,
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
}
|
|
}
|