2024-04-21 08:26:29 +03:00
|
|
|
module.exports = {
|
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react/jsx-runtime",
|
2024-04-25 22:54:38 +03:00
|
|
|
"plugin:react-hooks/recommended",
|
2024-04-21 08:26:29 +03:00
|
|
|
"@electron-toolkit/eslint-config-ts/recommended",
|
2024-04-24 12:22:12 +03:00
|
|
|
"prettier",
|
2024-04-21 08:26:29 +03:00
|
|
|
],
|
2024-04-25 22:54:38 +03:00
|
|
|
rules: {
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
argsIgnorePattern: "^_",
|
|
|
|
varsIgnorePattern: "^_",
|
|
|
|
caughtErrorsIgnorePattern: "^_",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
|
|
},
|
2024-04-21 08:26:29 +03:00
|
|
|
};
|