Skip to content

refactor(linter): move TsGoLintInput creation into own function#13118

Merged
graphite-app[bot] merged 1 commit intomainfrom
08-15-refactor_linter_move_tsgolintinput_creation_into_own_function
Aug 15, 2025
Merged

refactor(linter): move TsGoLintInput creation into own function#13118
graphite-app[bot] merged 1 commit intomainfrom
08-15-refactor_linter_move_tsgolintinput_creation_into_own_function

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented Aug 15, 2025

Move the creation into an own function.
This would be later helpful when implementing it for the language server.

@github-actions github-actions bot added A-cli Area - CLI C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Aug 15, 2025
Copy link
Member Author

Sysix commented Aug 15, 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.

@Sysix Sysix marked this pull request as ready for review August 15, 2025 11:51
Copilot AI review requested due to automatic review settings August 15, 2025 11:51
@Sysix Sysix requested a review from camc314 as a code owner August 15, 2025 11:51
Copy link
Contributor

Copilot AI left a 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 refactor moves the creation of TsGoLintInput from inline code into a dedicated method to improve code organization and prepare for future language server integration.

  • Extracted inline TsGoLintInput creation logic into a separate json_input method
  • Updated documentation format from inline comment to proper doc comment with JSON example
  • Added #[inline] attribute to the new method for performance optimization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Sysix Sysix force-pushed the 08-15-refactor_linter_move_tsgolintinput_creation_into_own_function branch from b7c6756 to 7fcd4d6 Compare August 15, 2025 12:01
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Aug 15, 2025
Copy link
Contributor

camc314 commented Aug 15, 2025

Merge activity

…3118)

Move the creation into an own function.
This would be later helpful when implementing it for the language server.
@graphite-app graphite-app bot force-pushed the 08-15-refactor_linter_move_tsgolintinput_creation_into_own_function branch from 7fcd4d6 to 23e5642 Compare August 15, 2025 12:11
@graphite-app graphite-app bot merged commit 23e5642 into main Aug 15, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 08-15-refactor_linter_move_tsgolintinput_creation_into_own_function branch August 15, 2025 12:16
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI 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