Skip to content

fix: add warning for unsupported tsgolint CLI entrypoint#903

Merged
graphite-app[bot] merged 1 commit into
mainfrom
c/04-22-fix_add_warning_for_unsupported_tsgolint_cli_entrypoint
Apr 22, 2026
Merged

fix: add warning for unsupported tsgolint CLI entrypoint#903
graphite-app[bot] merged 1 commit into
mainfrom
c/04-22-fix_add_warning_for_unsupported_tsgolint_cli_entrypoint

Conversation

@camc314

@camc314 camc314 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

this entrypoint isn't designed to be used - lets log a warning when it is.

demo:

Screenshot 2026-04-22 at 20.58.23.png

camc314 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

How to use the Graphite Merge Queue

Add the label 0-merge to this PR to add it to 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.

@camc314 camc314 force-pushed the c/04-22-fix_add_warning_for_unsupported_tsgolint_cli_entrypoint branch from e5f936a to a187df3 Compare April 22, 2026 19:57
@camc314 camc314 marked this pull request as ready for review April 22, 2026 19:58
Copilot AI review requested due to automatic review settings April 22, 2026 19:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit warning to discourage direct use of the tsgolint CLI entrypoint, steering users toward Oxlint type-aware linting.

Changes:

  • Introduces an unsupportedCliWarning banner string.
  • Prefixes the CLI usage output with the warning.
  • Prints the warning to stderr on normal (non---help) execution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/tsgolint/main.go
@graphite-app

graphite-app Bot commented Apr 22, 2026

Copy link
Copy Markdown

Merge activity

this entrypoint isn't designed to be used - lets log a warning when it is.

demo:

![Screenshot 2026-04-22 at 20.58.23.png](https://app.graphite.com/user-attachments/assets/4a42322b-c8bf-4020-a271-ff9809e84615.png)
@graphite-app graphite-app Bot force-pushed the c/04-22-fix_add_warning_for_unsupported_tsgolint_cli_entrypoint branch from a187df3 to 3faa7be Compare April 22, 2026 20:05
@graphite-app graphite-app Bot merged commit 3faa7be into main Apr 22, 2026
9 checks passed
@graphite-app graphite-app Bot deleted the c/04-22-fix_add_warning_for_unsupported_tsgolint_cli_entrypoint branch April 22, 2026 20:12
@camc314

camc314 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

related to #897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants