Skip to content

chore: Clean up lint and format script names #19722

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
verify 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 verify 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 verify runs both format check and lint at root level
  • yarn fix runs both format and lint fix at root level

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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