Commit d4f4f36
* fix(dx): per-package lint scripts stop existing where they can only mislead (#4276)
`pnpm --filter @objectstack/verify lint` (package-local `eslint src`) failed
on a clean HEAD with 7x "Definition for rule '@typescript-eslint/no-explicit-any'
was not found": the standalone run resolves the root flat config, which
registers only the TS parser — never the @typescript-eslint plugin — and,
unlike the root gate (`eslint . --no-inline-config`), honors the orphaned
eslint-disable directives in src, so each one references a rule that does
not exist. cli and lint carried the same script and passed only because
their src has no such directives yet — same divergence, one comment away
from the same red.
No turbo lint task or CI job ever ran these scripts; most packages never had
one. Remove all three and lint only from the root, matching the gate exactly.
The root config now documents the decision and the scoped-run recipe
(`pnpm exec eslint --no-inline-config <dir>`).
Closes #4276
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195He4CTy2BvCVMDTJ6NkVY
* chore: empty changeset — dev-script removal releases nothing
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0195He4CTy2BvCVMDTJ6NkVY
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent a62bd9e commit d4f4f36
5 files changed
Lines changed: 12 additions & 4 deletions
File tree
- .changeset
- packages
- cli
- lint
- verify
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
0 commit comments