fix: fixing typechecks

This commit is contained in:
Hydra 2024-04-25 20:54:38 +01:00
parent c07f82ce49
commit f9223ad36d
21 changed files with 311 additions and 90 deletions

View file

@ -3,7 +3,20 @@ module.exports = {
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"@electron-toolkit/eslint-config-ts/recommended",
"prettier",
],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-explicit-any": "warn",
},
};