Skip to content

chore: Disable redudant lint rule#425

Merged
Gudahtt merged 2 commits intomainfrom
disable-promise-validate-params-in-typescript-config
Dec 2, 2025
Merged

chore: Disable redudant lint rule#425
Gudahtt merged 2 commits intomainfrom
disable-promise-validate-params-in-typescript-config

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Dec 2, 2025

The rule promise/valid-params is now disabled in our TypeScript config. The rule is redundant in a TypeScript context, where Promise parameters are being type-checked already.


Note

Disables the promise/valid-params rule in the TypeScript config and documents it in the changelog, updating the rules snapshot.

  • TypeScript ESLint config
    • Disable promise/valid-params in packages/typescript/src/index.mjs (redundant with TS type-checking).
  • Changelog
    • Add Unreleased note about disabling promise/valid-params in packages/typescript/CHANGELOG.md.
  • Rules snapshot
    • Update packages/typescript/rules-snapshot.json to include "promise/valid-params": "off".

Written by Cursor Bugbot for commit 0ed1ba2. This will update automatically on new commits. Configure here.

@Gudahtt Gudahtt marked this pull request as ready for review December 2, 2025 16:30
@Gudahtt Gudahtt requested a review from a team as a code owner December 2, 2025 16:30
@Gudahtt Gudahtt force-pushed the disable-promise-validate-params-in-typescript-config branch from 746877b to e4e1323 Compare December 2, 2025 17:39
The rule `promise/valid-params` is now disabled in our TypeScript
config. The rule is redundant in a TypeScript context, where Promise
parameters are being type-checked already.
@Gudahtt Gudahtt force-pushed the disable-promise-validate-params-in-typescript-config branch from e4e1323 to 0ed1ba2 Compare December 2, 2025 17:59
Copy link
Copy Markdown
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Gudahtt Gudahtt enabled auto-merge (squash) December 2, 2025 18:00
@Gudahtt Gudahtt merged commit f3246f7 into main Dec 2, 2025
26 checks passed
@Gudahtt Gudahtt deleted the disable-promise-validate-params-in-typescript-config branch December 2, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants