Skip to content

chore: move lint and formatting to oxlint and oxfmt - #337

Merged
hassankhan merged 3 commits into
mainfrom
@hassankhan/chore/add-oxlint-oxfmt
Oct 19, 2026
Merged

hassankhan merged 3 commits into
mainfrom
@hassankhan/chore/add-oxlint-oxfmt

Conversation

@hassankhan

@hassankhan hassankhan commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Why

Match expo/expo's tooling and drop ESLint, eslint-config-universe and prettier.

How

  • Root oxlint.config.mjs on oxlint-config-universe/node; each package re-exports it and runs oxlint --config oxlint.config.mjs ..
  • .oxfmtrc.json matches expo/expo. The repo is reformatted in its own commit.
  • CI lints with --deny-warnings and checks formatting.
  • pnpm dedupe.

Test Plan

Lint, format check, build and tests pass for all packages.

@hassankhan
hassankhan added this pull request to stack #336 October 19, 2026 15:26
@hassankhan
hassankhan force-pushed the @hassankhan/chore/add-oxlint-oxfmt branch from 6f99fd1 to 22053f9 Compare October 19, 2026 15:35
@hassankhan hassankhan changed the title chore: move lint and formatting to oxlint and oxfmt chore: move lint and formatting to oxlint and oxfmt Oct 19, 2026
Base automatically changed from @hassankhan/chore/replace-expo-module-scripts to main October 19, 2026 16:11
@hassankhan
hassankhan force-pushed the @hassankhan/chore/add-oxlint-oxfmt branch from 22053f9 to c49b827 Compare October 19, 2026 16:11
Root oxlint.config.mjs extends oxlint-config-universe/node. Each package
re-exports it and runs oxlint --config oxlint.config.mjs ., since oxlint
does not discover a root .mjs config from a package directory. CI lints
with --deny-warnings and checks formatting with oxfmt.

Removes eslintrc.base.js, every .eslintrc.js, and the eslint,
eslint-config-universe and prettier devDependencies. Bumps oxlint and
oxfmt and aligns .oxfmtrc.json with expo/expo, ignoring the generated
SettingsPlist.ts that json2ts rewrites in prettier's default style.

Also runs pnpm dedupe. The package.json files in this commit carry the
oxfmt key reorder as well; the rest of the reformat is its own commit.
Mechanical reformat of the repo with oxfmt. No code changes.
@hassankhan
hassankhan force-pushed the @hassankhan/chore/add-oxlint-oxfmt branch from c49b827 to 186922b Compare October 19, 2026 16:16
@hassankhan
hassankhan merged commit d299fbb into main Oct 19, 2026
3 checks passed
@hassankhan
hassankhan deleted the @hassankhan/chore/add-oxlint-oxfmt branch October 19, 2026 16:38
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.

2 participants