Files
suaveplan/openspec/archive/2026-05-25-enterprise-linter/tasks.md
2026-05-27 23:29:53 +01:00

31 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tasks — Migrate @suaveplan/linter
1. [x] Author proposal.md, design.md, spec delta.
2. [x] Add `markdown` catalog to root `package.json`.
3. [x] Scaffold package at `packages/devtools/tooling/linter/` with `package.json`
(v0.1.0, subpath exports per feature), `tsconfig.lib.json`, `vite.config.ts`,
`vitest.config.ts`, `README.md`, `tests/setup/polyfills.ts`.
4. [x] Implement `src/error-codes/error-codes.ts` with
`defineCodes("LINTER", [...])` and `LinterError`.
5. [x] Implement `src/telemetry/telemetry.ts` with the 3 counters + 1 histogram and
helpers.
6. [x] Implement `src/types/linter.types.ts` with the shared interfaces.
7. [x] Implement `src/markdown-fixer/markdown-fixer.ts` (remark pipeline + processor).
8. [x] Implement `src/biome-runner/biome-runner.ts` (CommandRunner seam, `runBiome`).
9. [x] Implement `src/glob-resolver/glob-resolver.ts`
(`resolveMarkdownTargets` with injectable fs + glob).
10. [x] Implement `src/unified-lint/unified-lint.ts` (orchestrator).
11. [x] Implement `src/cli/cli.ts` (pure `runCli(argv, opts?)`).
12. [x] Implement `src/bin.ts` — one-line binary entry.
13. [x] Write sibling `.md` doc per implementation file (six required sections, ≥200
words, real-import basic + advanced examples).
14. [x] Write `.test.ts` files exercising every spec scenario; import test-runner
primitives from `@suaveplan/testing/runner`.
15. [x] Run `bunx turbo lint typecheck test build --filter=@suaveplan/linter` — green.
16. [x] Run `bunx turbo test:coverage --filter=@suaveplan/linter` — 100/100/100/100.
17. [x] Refresh MANIFEST.md via `bun scripts/folder-reorg/generate-manifest.ts`.
18. [x] Flip STATUS.md row from `–` to `✅` with one-line description.
19. [x] Fold `specs/linter/spec.md` into `openspec/specs/linter/spec.md`.
20. [x] Archive `openspec/changes/enterprise-linter/` →
`openspec/archive/2026-05-25-enterprise-linter/`.