feat(oxlint): add stylish formatter#8607
Merged
Boshen merged 5 commits intooxc-project:mainfrom Jan 21, 2025
Merged
Conversation
Contributor
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. |
Boshen
reviewed
Jan 20, 2025
camc314
reviewed
Jan 20, 2025
Co-authored-by: Cameron <cameron.clark@hey.com>
Sysix
reviewed
Jan 20, 2025
Sysix
approved these changes
Jan 20, 2025
Contributor
Author
|
Thanks for the quick merge! |
Boshen
added a commit
that referenced
this pull request
Jan 24, 2025
## [0.15.8] - 2025-01-24 ### Features - 79ba9b5 linter: Added support to run in Node.JS legacy versions (#8648) (Luiz Felipe Weber) - dcaebe6 linter: Add "strict" option to `promise/prefer-await-to-then` rule (#8674) (Neil Fisher) - 4ae568e linter: Add DiagnosticResult to the Reporters for receiving a sub part result (#8666) (Alexander S.) - 8a0eb2a oxlint: Add stylish formatter (#8607) (Andrew Powell) ### Bug Fixes - 40316af linter: Fix github `endColumn` output (#8647) (Alexander S.) - dc912fa linter: Added missing $schema property to default config (#8625) (Tapan Prakash) ### Refactor - a3dc4c3 crates: Clean up snapshot files (#8680) (Boshen) - e66da9f isolated_declarations, linter, minifier, prettier, semantic, transformer: Remove unnecessary `ref` / `ref mut` syntax (#8643) (overlookmotel) - 23b49a6 linter: Use `cow_to_ascii_lowercase` instead `cow_to_lowercase` (#8678) (Boshen) - b8d9a51 span: Deal only in owned `Atom`s (#8641) (overlookmotel) - ac4f98e span: Derive `Copy` on `Atom` (#8596) (branchseer) - 259a47b vscode: Move commands and `findBinary` to separate files (#8605) (Alexander S.) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👋 This implements a reporter for
--formatonoxlintwhich aims to be visually similar to https://eslint.org/docs/latest/use/formatters/#stylishPlease note that this is my first time working with Rust and my knowledge is very limited. I'm unlikely to understand best-practice or best-pattern references outside of what clippy/cargo lint has already had me change. If this needs modification, please help me out by making code suggestions that can be merged to this PR.
Resolves #8422