diff --git a/.eslintignore b/.eslintignore index c9017c6e99..23054755e1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,6 +1,7 @@ **/coverage/** **/node_modules/** packages/*/dist/** +packages/eslint-config-custom/** **/dist/* **/build/* playground diff --git a/packages/eslint-config-custom/typescript.js b/packages/eslint-config-custom/typescript.js index cd423229d5..b08d5afc3a 100644 --- a/packages/eslint-config-custom/typescript.js +++ b/packages/eslint-config-custom/typescript.js @@ -26,7 +26,7 @@ const disabledRules = { // TODO: All rules below should be set to their defaults // when we're able to make the appropriate changes. '@typescript-eslint/await-thenable': 'warn', - '@typescript-eslint/no-duplicate-type-constituents': 'warn', + '@typescript-eslint/no-duplicate-type-constituents': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-misused-promises': 'warn', '@typescript-eslint/no-floating-promises': [ diff --git a/packages/remix/src/client/RemixOptionsContext.tsx b/packages/remix/src/client/RemixOptionsContext.tsx index 52e2aa6e1b..15e6d70e81 100644 --- a/packages/remix/src/client/RemixOptionsContext.tsx +++ b/packages/remix/src/client/RemixOptionsContext.tsx @@ -9,7 +9,7 @@ ClerkRemixOptionsCtx.displayName = 'ClerkRemixOptionsCtx'; const useClerkRemixOptions = () => { const ctx = React.useContext(ClerkRemixOptionsCtx)!; - return ctx.value as ClerkRemixContextValue; + return ctx.value; }; const ClerkRemixOptionsProvider = (props: React.PropsWithChildren<{ options: ClerkRemixContextValue }>) => {