Skip to content

build: switch to oxfmt and oxlint - #14

Merged
TheGreatAxios merged 2 commits into
cl-9365-agent-token-mark-the-package-side-effect-freefrom
cl-9378-agent-token-switch-to-oxfmt-and-oxlint
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
cl-9365-agent-token-mark-the-package-side-effect-freefrom
cl-9378-agent-token-switch-to-oxfmt-and-oxlint

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-9378

Summary

  • Stacked on build: mark the package side-effect free #13, the tip of the open stack, so the reformat covers every file on it
  • Replace ESLint and Prettier (added in build: add eslint and prettier with a check script #11) with oxfmt and oxlint, exact-pinned devDependencies; removes eslint, @eslint/js, typescript-eslint, jiti, prettier, eslint.config.ts, .prettierrc.json and .prettierignore
  • check now runs bun run format:check instead of prettier --check .; tsconfig.json no longer includes eslint.config.ts; CONTRIBUTING describes the new tools
  • CI already runs bun run check, so it picks up lint and format with no workflow change
  • No lint fixes needed
  • .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 doc/script references
  2. style: format with oxfmt: mechanical reformat only (1 file changed, 18 insertions(+), 18 deletions(-): package.json key order), safe to skip in review

@TheGreatAxios
TheGreatAxios force-pushed the cl-9378-agent-token-switch-to-oxfmt-and-oxlint branch from 040d0e5 to 7a90959 Compare September 26, 2026 03:02
@TheGreatAxios
TheGreatAxios changed the base branch from main to cl-9365-agent-token-mark-the-package-side-effect-free September 26, 2026 03:02
@TheGreatAxios
TheGreatAxios added this pull request to stack #12 September 26, 2026 03:03
@TheGreatAxios
TheGreatAxios force-pushed the cl-9378-agent-token-switch-to-oxfmt-and-oxlint branch from 7a90959 to eee9972 Compare September 27, 2026 01:00
@TheGreatAxios TheGreatAxios reopened this Sep 27, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-9378-agent-token-switch-to-oxfmt-and-oxlint branch from eee9972 to ed7749c Compare September 27, 2026 01:25
@TheGreatAxios
TheGreatAxios removed this pull request from stack #12 September 27, 2026 01:42
@TheGreatAxios
TheGreatAxios added this pull request to stack #17 September 27, 2026 01:43
@TheGreatAxios
TheGreatAxios merged commit 18762e2 into main Sep 27, 2026
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