hydra/.eslintrc.cjs

30 lines
703 B
JavaScript
Raw Normal View History

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-05-13 04:33:10 +03:00
"plugin:jsx-a11y/recommended",
2024-04-21 08:26:29 +03:00
"@electron-toolkit/eslint-config-ts/recommended",
2024-05-13 12:46:22 +03:00
"plugin:prettier/recommended",
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-05-14 00:01:34 +03:00
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
2024-04-25 22:54:38 +03:00
},
2024-04-21 08:26:29 +03:00
};