-
-
Notifications
You must be signed in to change notification settings - Fork 664
feat(biome_js_analyse): added new option to rule to ignore unused function parameters #6405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(biome_js_analyse): added new option to rule to ignore unused function parameters #6405
Conversation
CodSpeed Performance ReportMerging #6405 will not alter performanceComparing Summary
|
3f78723
to
1f60fe3
Compare
review please :-) |
crates/biome_js_analyze/src/lint/correctness/no_unused_function_parameters.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking to avoid accidental merges, since it's a minor
🦋 Changeset detectedLatest commit: 92011a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 14 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 |
are we merging this anytime soon please? @ematipico |
@vladimir-ivanov Since it's targeting the next minor, we can't merge to In the |
leaving to someone else to merge once it is allowed to go in then, thank you :-) |
crates/biome_js_analyze/src/lint/correctness/no_unused_function_parameters.rs
Outdated
Show resolved
Hide resolved
…ction parameters that are siblings of the rest parameter.
d3d70b3
to
92011a4
Compare
@ematipico @dyc3 is this good to go now please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Under the contribution guide changes in #6664, this would need to go onto next
instead of main
, but we don't have that set up yet. This can move forward when that is resolved.
It can go to main, because we already have minor changes. Good to go! |
Summary
Added ignoreRestSiblings option to
noUnusedFunctionParameters
rule to ignore unused function parameters that are siblings of the rest parameter.Default is
false
, which means that unused function parameters that are siblings of the rest parameter will be reported.Example
closes #5941