chore: drop unused lint plugin, logger seam and dead build settings #64

Sammanfogat
supernaut sammanfogade 2 incheckningar från chore/audit-cuts in i main 2026-10-11 09:16:46 +00:00
Ägare

Remove code and config that carry no weight.

  • Drop eslint-plugin-unused-imports and globals. @typescript-eslint/no-unused-vars from tseslint.configs.strict covers unused imports and variables, at error level.
  • Remove the Logger seam in src/logger.ts. It had one implementation and no test injected it. Log lines keep the [reconcile-trigger] prefix and wording.
  • One log line changes punctuation: rejected <method>: invalid or missing bearer. Nothing queries it.
  • Containerfile: corepack enable without prepare. pnpm now comes from packageManager, so the image moves from 11.17.0 to 11.28.3.
  • Remove the unused scripts eslint:fix, lint:fix, test:watch, the main field, and tsconfig declaration and sourceMap.

Checked: pnpm lint, pnpm typecheck, pnpm test (20 pass), pnpm build, and podman build of the image.

Remove code and config that carry no weight. - Drop `eslint-plugin-unused-imports` and `globals`. `@typescript-eslint/no-unused-vars` from `tseslint.configs.strict` covers unused imports and variables, at error level. - Remove the `Logger` seam in `src/logger.ts`. It had one implementation and no test injected it. Log lines keep the `[reconcile-trigger]` prefix and wording. - One log line changes punctuation: `rejected <method>: invalid or missing bearer`. Nothing queries it. - Containerfile: `corepack enable` without `prepare`. pnpm now comes from `packageManager`, so the image moves from 11.17.0 to 11.28.3. - Remove the unused scripts `eslint:fix`, `lint:fix`, `test:watch`, the `main` field, and tsconfig `declaration` and `sourceMap`. Checked: `pnpm lint`, `pnpm typecheck`, `pnpm test` (20 pass), `pnpm build`, and `podman build` of the image.
supernaut lade till 2 incheckningar 2026-10-11 09:15:14 +00:00
Use tseslint no-unused-vars instead of eslint-plugin-unused-imports, drop
the globals dep, and remove the one-impl Logger interface. Containerfile
lets corepack read packageManager instead of a hardcoded pnpm version.
fix(server): drop the em dash from the rejected-request log line
Alla kontroller lyckades
ci / ci (pull_request) Successful in 55s
01334227d1
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-11 09:16:41 +00:00
supernaut sammanfogade incheckning 7adc903702 till main 2026-10-11 09:16:46 +00:00
supernaut tog bort grenen chore/audit-cuts 2026-10-11 09:16:46 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-reconcile-trigger!64
Ingen beskrivning angiven.