-
-
Notifications
You must be signed in to change notification settings - Fork 720
refactor(linter/plugins): rename function #14726
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
refactor(linter/plugins): rename function #14726
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames a function from resetSource to resetSourceAndAst to better reflect its actual functionality of resetting both source code and AST data structures.
- Renamed function from
resetSourcetoresetSourceAndAst - Updated function documentation and usage comments to reflect the broader scope
- Updated import statement to use the new function name
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/oxlint/src-js/plugins/source_code.ts | Renamed function and updated its documentation to clarify it resets both source and AST |
| apps/oxlint/src-js/plugins/lint.ts | Updated import and function call to use the new name, with corresponding comment update |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Merge activity
|
Trivial change. Rename this function to better describe what it does.
4568276 to
b402024
Compare

Trivial change. Rename this function to better describe what it does.