Repository navigation
chore(lint): switch to Oxlint and oxfmt - #77
Merged
Merged
Conversation
6 tasks
Bugs5382
marked this pull request as ready for review
November 4, 2026 22:05
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 and why
I'm switching the repo's linting from ESLint to Oxlint, with oxfmt for formatting, using
@bugs5382/node-oxlint-config. The old shared ESLint config was removed from npm, so a clean install no longer works. This is lint and formatting setup only: no lint code fixes, and CI is untouched.@the-rabbit-hole/eslint-config,eslintandglobals, andeslint.config.mjs.@bugs5382/node-oxlint-config^1.0.1,oxlintandoxfmtas devDependencies, with.oxlintrc.jsonandoxfmt.config.ts.lintandlint:fixnow call Oxlint (the workspacelint:npmstep stays). Newformatandformat:checkscripts were added; no CI step or hook runsformat:check.npm run format.typescript/no-explicit-any,func-style,unicorn/number-literal-case,unicorn/prefer-event-target,unicorn/filename-case, and the unicorn-jsprevent-abbreviations,better-dom-traversingandconsistent-compound-words, plus the underscore-prefix unused-variable pattern and the script, docker and test overrides.npm run lintpasses on untouched source (hits):import/no-default-export(7),unicorn/prefer-module(5),unicorn/prefer-string-replace-all(2),unicorn-js/prefer-https(1),unicorn-js/prefer-includes-over-repeated-comparisons(1).oxfmtonce: formatting only, 16 files rewritten (Markdown, one TypeScript file and twotsconfig.json).CLAUDE.md,.github/**,.claude/**and generated files stay ignored.Refs #76 for turning the rules back on.
Closes #75
Verification
How this was verified
After the format run:
npm run lintexits 0,oxfmt --checkis clean,tsc --noEmitpasses,npm run buildsucceeds andnpm testpasses (585 passed, 2 skipped).Closing summary: the lint setup moved to Oxlint and oxfmt with no lint code fixes; the rules that fire on existing code are off and tracked in #76.