ente/web/packages/accounts/eslint.config.mjs
Manav Rathi fdf0e3f0ad
Fix
2024-11-20 09:53:46 +05:30

24 lines
913 B
JavaScript

import config from "@/build-config/eslintrc-react.mjs";
export default [
...config,
{
rules: {
/* TODO:
* "This rule requires the `strictNullChecks` compiler option to be
* turned on to function correctly"
*/
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-call": "off",
/** TODO: Disabled as we migrate, try to prune these again */
"react-hooks/exhaustive-deps": "off",
},
},
];