Skip to content

Commit

Permalink
chore(repo): Temp disable @typescript-eslint/no-duplicate-type-consti…
Browse files Browse the repository at this point in the history
…tuents
  • Loading branch information
tmilewski committed Oct 31, 2023
1 parent 558c3bc commit d03481d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
**/coverage/**
**/node_modules/**
packages/*/dist/**
packages/eslint-config-custom/**
**/dist/*
**/build/*
playground
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-custom/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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': [
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/src/client/RemixOptionsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }>) => {
Expand Down

0 comments on commit d03481d

Please sign in to comment.