style(linter/plugins): use block for multi-line if statement#16749
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via 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 adds braces to a multi-line if statement in the plugins context file. However, this change introduces a style inconsistency with the existing codebase patterns.
Key Changes:
- Adds curly braces to a single
if (filePath === null) throwstatement
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
we've got a lint rule for this 😉 I made a PR to enable it here #16753 |
Merge activity
|
a83f4ed to
886e938
Compare
built on #16749, we can use the linter to be consistent here

Style nit.