fix(lint): suppress unparam on toStaticValue#834
Conversation
How to use the Graphite Merge QueueAdd the label 0-merge to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull request overview
This PR suppresses unparam linting on toStaticValue in the no-unnecessary-condition rule to keep the function signature aligned with upstream and preserve the (currently unused) return value for potential future checks (per #833).
Changes:
- Add
//nolint:unparamtotoStaticValuewith an explanatory comment to silence the “unused result” lint finding.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
see #833 for reasoning - we may start using this in future. In the mean time it makes sense to keep it to align with the upstream impl
dcaf25c to
c140508
Compare

see #833 for reasoning - we may start using this in future.
In the mean time it makes sense to keep it to align with the upstream impl