diff --git a/.eslintrc.js b/.eslintrc.js index e91465cf36..0d8b6c9775 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -35,6 +35,12 @@ module.exports = { } }, rules: { + // FIXME: re-enable the disabled @typescript-eslint rules. + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-namespace": "off", + "@typescript-eslint/no-non-null-asserted-optional-chain": "off", + "@typescript-eslint/no-this-alias": "off", + "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/unified-signatures": "error", "react-hooks/exhaustive-deps": "error", "react/jsx-boolean-value": ["error", "never", { always: [] }], @@ -126,8 +132,10 @@ module.exports = { "@typescript-eslint/no-unused-vars": [ "warn", { + args: "all", argsIgnorePattern: "^_", varsIgnorePattern: "^_", + caughtErrors: "all", caughtErrorsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_", ignoreRestSiblings: true