docs(linter): Fix extra closing brace in example config.#20253
Merged
graphite-app[bot] merged 1 commit intomainfrom Mar 12, 2026
Merged
docs(linter): Fix extra closing brace in example config.#20253graphite-app[bot] merged 1 commit intomainfrom
graphite-app[bot] merged 1 commit intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes an extra closing brace from the oxlint.config.ts example in the Rustdoc for the linter configuration, restoring valid formatting for the documented config snippet.
Changes:
- Fixes the
oxlint.config.tsdocumentation example by removing an unintended extra}so the snippet formats correctly.
connorshea
added a commit
to oxc-project/website
that referenced
this pull request
Mar 12, 2026
It was invalid and thus wasn't being formatted before. Fixed in oxc with oxc-project/oxc#20253, but I think it's worth porting the fix here ahead of time.
Merging this PR will not alter performance
Comparing Footnotes
|
connorshea
added a commit
to oxc-project/website
that referenced
this pull request
Mar 12, 2026
It was invalid and thus wasn't being formatted before. Fixed in oxc with oxc-project/oxc#20253, but I think it's worth porting the fix here ahead of time.
Member
Author
Merge activity
|
This resulted in the example config in the docs being unformatted, as the code was invalid. Oops. <img width="574" height="695" alt="Screenshot 2026-03-11 at 7 10 01 PM" src="https://github.com/user-attachments/assets/febeae18-1c7d-47b3-8bee-2e95d541c655" />
4271fd1 to
0c7da4f
Compare
leaysgur
added a commit
that referenced
this pull request
Mar 12, 2026
# Oxlint ### 🐛 Bug Fixes - 4ea67de oxlint,oxfmt: Skip `vite.config.ts` exports `defineConfig(fn)` (#20260) (leaysgur) - cc89dbf oxlint: Skip `vite.config.ts` w/o `.lint` field in auto-discovery (#20255) (leaysgur) - 89b7ca9 linter/no-duplicate-imports: Only check aggregated exports (#20178) (kennytm) - 691f556 linter/explicit-module-boundary-types: Ignore constructor callbacks (#20221) (camc314) ### ⚡ Performance - d160dca linter/plugins: Reduce array lookups in visitor compilation (#20249) (overlookmotel) ### 📚 Documentation - 0c7da4f linter: Fix extra closing brace in example config. (#20253) (connorshea) - 13606c3 linter/plugins: Update conformance README (#20234) (overlookmotel) # Oxfmt ### 🐛 Bug Fixes - 4ea67de oxlint,oxfmt: Skip `vite.config.ts` exports `defineConfig(fn)` (#20260) (leaysgur) - 11a2b45 oxfmt: Skip `vite.config.ts` w/o `.fmt` field in auto-discovery (#20254) (leaysgur) Co-authored-by: leaysgur <6259812+leaysgur@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 resulted in the example config in the docs being unformatted, as the code was invalid. Oops.