style: migrate to oxlint/oxfmt - #250
Open
Tomahawk2191 wants to merge 7 commits into
Open
Conversation
Contributor
👷 Deploy Preview for sprightly-manatee-243873 processing.
|
Tomahawk2191
force-pushed
the
isaac/migrate-to-oxlint-oxfmt
branch
from
September 10, 2026 22:19
6d0d020 to
1be92f8
Compare
Tomahawk2191
force-pushed
the
isaac/migrate-to-oxlint-oxfmt
branch
from
September 11, 2026 01:10
1be92f8 to
5668a6d
Compare
Tomahawk2191
force-pushed
the
isaac/migrate-to-oxlint-oxfmt
branch
from
September 11, 2026 01:11
5668a6d to
f49d88a
Compare
Tomahawk2191
force-pushed
the
isaac/migrate-to-oxlint-oxfmt
branch
from
September 11, 2026 01:14
f49d88a to
5dde665
Compare
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.
What did I do?
Added multiple Oxlint and Oxfmt rules to enforce best practices for code quality. Replaces the prettier config that wasn't adopted fully throughout the repo.
Also added lint-staged rules which enforce the linter on any commits matching the config's wildcard. (see
package.json)Oxlint rules reference: https://oxc.rs/docs/guide/usage/linter/rules.html
Oxfmt rules reference: https://oxc.rs/docs/guide/usage/formatter/config-file-reference.html
"anti-slop" rules: https://github.com/dmmulroy/anti-slop
How did I test it?
Describe in detail steps you used to test the changes you have made.
Required checks:
What could go wrong in the future? What parts of your code should the reviewer pay the most attention to?
Describe aspects of the PR that may become problems in the future.
Additional Comments for the Reviewers
Stack created with GitHub Stacks CLI • Give Feedback 💬