hydra/.eslintrc.cjs

35 lines
767 B
JavaScript
Raw Permalink Normal View History

2024-04-21 05:26:29 +00:00
module.exports = {
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
2024-04-25 19:54:38 +00:00
"plugin:react-hooks/recommended",
2024-05-13 01:33:10 +00:00
"plugin:jsx-a11y/recommended",
2024-04-21 05:26:29 +00:00
"@electron-toolkit/eslint-config-ts/recommended",
2024-05-13 09:46:22 +00:00
"plugin:prettier/recommended",
2024-04-21 05:26:29 +00:00
],
2024-04-25 19:54:38 +00: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-13 21:01:34 +00:00
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
2024-04-25 19:54:38 +00:00
},
2024-12-20 17:07:51 +00:00
settings: {
react: {
version: "detect",
},
},
2024-04-21 05:26:29 +00:00
};