Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 12, 2025

Follow-on after #12160. Pure refactor.

Make loadPlugin and lint class methods, instead of class properties. This feels more natural to me. But if we do want to go with arrow functions, we should remove the .bind(this) calls in run, as they're pointless.

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Jul 12, 2025
Copy link
Member Author

overlookmotel commented Jul 12, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

Copy link
Contributor

camc314 commented Jul 12, 2025

Merge activity

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 12, 2025
Follow-on after #12160. Pure refactor.

Make `loadPlugin` and `lint` class methods, instead of class properties. This feels more natural to me. But if we do want to go with arrow functions, we should remove the `.bind(this)` calls in `run`, as they're pointless.
@graphite-app graphite-app bot force-pushed the 07-12-refactor_napi_oxlint_rename_vars branch from a826e21 to d0af30c Compare July 12, 2025 20:16
@graphite-app graphite-app bot requested a review from camc314 as a code owner July 12, 2025 20:16
@graphite-app graphite-app bot force-pushed the 07-12-refactor_napi_oxlint_replace_arrow_functions_with_methods branch from 31cc6b6 to 909a047 Compare July 12, 2025 20:16
Base automatically changed from 07-12-refactor_napi_oxlint_rename_vars to main July 12, 2025 20:24
@graphite-app graphite-app bot merged commit 909a047 into main Jul 12, 2025
16 checks passed
@graphite-app graphite-app bot deleted the 07-12-refactor_napi_oxlint_replace_arrow_functions_with_methods branch July 12, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants