Skip to content

build: switch to oxfmt and oxlint - #22

Merged
TheGreatAxios merged 2 commits into
release-0.2.0from
cl-9369-oauth-core-switch-to-oxfmt-and-oxlint
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
release-0.2.0from
cl-9369-oauth-core-switch-to-oxfmt-and-oxlint

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-9369

Summary

  • Remove Prettier and ESLint (prettier, eslint, @eslint/js, typescript-eslint, jiti) with .prettierrc.json, .prettierignore and eslint.config.ts
  • Add oxfmt and oxlint as exact-pinned devDependencies; check (run by CI) already calls lint and format:check
  • Fix unicorn/no-useless-fallback-in-spread in src/hub/refresh.ts
  • .oxfmtrc.json sets printWidth: 80 (Prettier's width); everything else is oxfmt's defaults, including sorting package.json keys
  • .oxlintrc.json turns the correctness category from warn to error; no rules are disabled
  • lint runs oxlint, format runs oxfmt, format:check runs oxfmt --check

Commits

  1. build: switch to oxfmt and oxlint: tooling, configs and lint fixes
  2. style: format with oxfmt: mechanical reformat only (1 file changed, 19 insertions(+), 19 deletions(-)), safe to skip in review

Conflicts

None. This PR sits at the top of the open stack, and the format commit covers the whole tree at that tip.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9369-oauth-core-switch-to-oxfmt-and-oxlint branch from 95cc674 to c3a82c4 Compare September 26, 2026 02:48
@TheGreatAxios
TheGreatAxios added this pull request to stack #24 September 26, 2026 02:52
@TheGreatAxios
TheGreatAxios merged commit f339d59 into main Sep 27, 2026
2 checks passed
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.

1 participant