hydra/.eslintrc.cjs
Hydra 6c9f2547cc
Some checks failed
Build / build (ubuntu-latest) (push) Waiting to run
Build / build (windows-latest) (push) Waiting to run
Lint / lint (push) Has been cancelled
ci: adding a11y plugin to eslint
2024-05-13 02:33:10 +01:00

23 lines
591 B
JavaScript

module.exports = {
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/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",
},
};