Skip to content

chore: Clean up lint and format script names #19721

@github-actions

Description

@github-actions

Note

The pull request "chore: Clean up lint and format script names" was created by @logaretm but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

Summary

Standardize lint/format script naming across the monorepo (53 files). Removes redundant/confusing scripts and makes naming consistent.

New root-level scripts

Script Command Purpose
check run-s format:check lint Read-only: format check + lint
fix run-s format lint:fix Write: format + lint fix
lint oxlint . --type-aware Lint only
lint:fix oxlint . --fix --type-aware Lint + fix only
format oxfmt . --write Format only
format:check oxfmt . --check Format check only

What changed

  • lint now runs only oxlint (previously also ran oxfmt check)
  • lint:fix replaces old fix for oxlint auto-fix
  • New check runs both format:check + lint (replaces old lint behavior)
  • New fix runs both format + lint:fix
  • All oxlint commands consistently include OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS flag and --type-aware across root and all sub-packages
  • Removes redundant scripts: fix:oxlint, fix:oxfmt, lint:oxfmt, lint:oxlint
  • Updates CI workflow (build.yml) to use new script names

Test plan

  • CI lint job passes with yarn lint instead of yarn lint:oxlint
  • CI format check job passes (unchanged yarn format:check)
  • yarn check runs both format check and lint at root level
  • yarn fix runs both format and lint fix at root level

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions