refactor(linter/plugins): rename tokensAndComments var#16500
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. |
a8ee644 to
71e5a9e
Compare
1425b32 to
cbd7d22
Compare
There was a problem hiding this comment.
Pull request overview
This PR performs a pure refactoring to align the internal naming convention with ESLint by renaming the internal variable tokensWithComments to tokensAndComments throughout the tokens plugin implementation. The change affects variable names, function names, comments, and error messages to maintain consistency.
- Renamed internal variable
tokensWithCommentstotokensAndComments - Renamed initialization function
initTokensWithComments()toinitTokensAndComments() - Renamed debug validation function
debugCheckTokensWithComments()todebugCheckTokensAndComments()
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
Pure refactor. Rename `tokensWithComments` to `tokensAndComments`, to match ESLint.
cbd7d22 to
d2ca540
Compare
71e5a9e to
333172f
Compare
…#16500) Pure refactor. Rename `tokensWithComments` to `tokensAndComments`, to match ESLint.

Pure refactor. Rename
tokensWithCommentstotokensAndComments, to match ESLint.