diff --git a/packages/typescript/rules-snapshot.json b/packages/typescript/rules-snapshot.json index 957fdce7..25826318 100644 --- a/packages/typescript/rules-snapshot.json +++ b/packages/typescript/rules-snapshot.json @@ -126,7 +126,7 @@ "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-nullish-coalescing": "error", "@typescript-eslint/prefer-optional-chain": "error", - "@typescript-eslint/prefer-promise-reject-errors": "error", + "@typescript-eslint/prefer-promise-reject-errors": "off", "@typescript-eslint/prefer-readonly": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-string-starts-ends-with": "error", diff --git a/packages/typescript/src/index.mjs b/packages/typescript/src/index.mjs index 6bdc2439..95c5c1e6 100644 --- a/packages/typescript/src/index.mjs +++ b/packages/typescript/src/index.mjs @@ -79,6 +79,7 @@ const config = createConfig({ // Recommended rules that we do not want to use '@typescript-eslint/no-duplicate-type-constituents': 'off', '@typescript-eslint/no-redundant-type-constituents': 'off', + '@typescript-eslint/prefer-promise-reject-errors': 'off', '@typescript-eslint/require-await': 'off', // Our rules that require type information