Commit f3246f7
authored
chore: Disable redudant lint rule (#425)
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.
<!-- CURSOR_SUMMARY -->
---
> [!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"`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0ed1ba2. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 383fbec commit f3246f7
File tree
3 files changed
+7
-0
lines changed- packages/typescript
- src
3 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
| |||
0 commit comments