fix(lint): noUnusedVariables should ignore type parameters in ambient context#8561
Conversation
🦋 Changeset detectedLatest commit: 44261d5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis pull request refines the Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
CodSpeed Performance ReportMerging #8561 will not alter performanceComparing Summary
Footnotes
|
Summary
.changeset/calm-ambient-type-params.md) since this is user-visible behavior.Test Plan
cargo test -p biome_js_analyze --test spec_tests -- specs::correctness::no_unused_variables::valid_ambient_type_param_tsDocs
Playground link
https://biomejs.dev/playground/?lintRules=noUnusedVariables&code=ZABlAGMAbABhAHIAZQAgAG0AbwBkAHUAbABlACAAIgByAGUAYQBjAHQAIgAgAHsACgAgACAAZQB4AHAAbwByAHQAIABpAG4AdABlAHIAZgBhAGMAZQAgAEMAbwBtAHAAbwBuAGUAbgB0AE0AZQB0AGEAPABUAD4AIAB7AAoAIAAgACAAIABkAGkAcwBwAGwAYQB5AE4AYQBtAGUAPwA6ACAAcwB0AHIAaQBuAGcAOwAKACAAIAAgACAAdgBlAHIAcwBpAG8AbgA%2FADoAIABzAHQAcgBpAG4AZwA7AAoAIAAgAH0ACgAKACAAIABlAHgAcABvAHIAdAAgAGkAbgB0AGUAcgBmAGEAYwBlACAASABvAG8AawBSAGUAcwB1AGwAdAA8AFQAPgAgAHsACgAgACAAIAAgAGUAcgByAG8AcgA%2FADoAIABFAHIAcgBvAHIAIAB8ACAAbgB1AGwAbAA7AAoAIAAgACAAIABpAHMATABvAGEAZABpAG4AZwA6ACAAYgBvAG8AbABlAGEAbgA7AAoAIAAgAH0ACgB9AA%3D%3D&language=ts