Commit d0370a8
chore: Clean up lint and format script names (#19719)
## 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](https://claude.com/claude-code)
Closes #19722 (added automatically)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 62d3436 commit d0370a8
File tree
53 files changed
+114
-115
lines changed- .github/workflows
- dev-packages
- browser-integration-tests
- clear-cache-gh-action
- cloudflare-integration-tests
- e2e-tests
- external-contributor-gh-action
- node-core-integration-tests
- node-integration-tests
- node-overhead-gh-action
- size-limit-gh-action
- test-utils
- packages
- angular
- astro
- aws-serverless
- browser-utils
- browser
- bun
- cloudflare
- core
- deno
- ember
- eslint-plugin-sdk
- feedback
- gatsby
- google-cloud-serverless
- hono
- integration-shims
- nestjs
- nextjs
- node-core
- node-native
- node
- nuxt
- opentelemetry
- profiling-node
- react-router
- react
- remix
- replay-canvas
- replay-internal
- replay-worker
- solidstart
- solid
- sveltekit
- svelte
- tanstackstart-react
- tanstackstart
- types
- vercel-edge
- vue
- wasm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+114
-115
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments