chore: Rename lint tasks and reduce CI duplication (#11393)
## Summary
- Rename `lint:format` to `format` (formatters and linters are
technically different)
- Rename `//#lint` to `//#quality` (aggregate task), `lint:oxlint` to
`lint`
- Update `lint.yml` to use `turbo run quality`
- Remove duplicate `lint` from `docs.yml` (already runs as part of
`//#quality`)
- Filter `docs.yml` `check-types` to `turborepo-docs` only (was running
unfiltered on entire monorepo)
- Add path filtering to `turborepo-native-lib-test.yml` (was running on
all PRs regardless of changes)
## Changes
| File | Change |
|------|--------|
| `package.json` | `lint:oxlint` → `lint`, `lint:format` → `format` |
| `turbo.json` | `//#lint` → `//#quality`, `//#lint:oxlint` → `//#lint`,
`//#lint:format` → `//#format` |
| `.github/workflows/lint.yml` | `turbo run lint` → `turbo run quality`
|
| `.github/workflows/docs.yml` | Remove `lint`, filter `check-types` to
docs only |
| `.github/workflows/turborepo-native-lib-test.yml` | Add path filtering
for `packages/turbo-repository/**`, `crates/**` |
## Why
1. **Naming clarity**: Linters analyze code for errors/style issues,
formatters just reformat. These are different tools and should be named
accordingly.
2. **Reduced CI duplication**:
- `docs.yml` was running `lint` which is already part of `lint.yml`'s
`quality` task
- `docs.yml` was running `check-types` on the entire monorepo when only
docs changed
- `turborepo-native-lib-test.yml` was running on ALL PRs instead of only
when relevant files changed