Files
SubMiner/backlog/tasks/task-163 - Resolve-current-lint-format-and-style-check-failures.md

3.2 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, references, ordinal
id title status assignee created_date updated_date labels dependencies references ordinal
TASK-163 Resolve current lint, format, and style check failures Done
Codex
2026-03-11 08:48 2026-03-16 05:13
maintenance
tooling
/home/sudacode/projects/japanese/SubMiner/package.json
/home/sudacode/projects/japanese/SubMiner/docs-site/development.md
/home/sudacode/projects/japanese/SubMiner/docs-site/architecture.md
26500

Description

Run the repo's maintained static/style gates, fix any failures they report, and leave the working tree with those checks passing without disturbing unrelated in-progress work.

Acceptance Criteria

  • #1 The repo's maintained static/style commands for this cleanup are identified and recorded.
  • #2 Any failures from those commands are fixed in-scope in the codebase.
  • #3 The same static/style commands pass after the fixes.
  • #4 Verification results and any skipped checks are documented before handoff.

Implementation Plan

  1. Run the maintained static/style gates for this repo: bun run typecheck and bun run format:check:src.
  2. Inspect each failure and patch only the files implicated by the failing command, preserving unrelated user changes.
  3. Re-run the failing gate after each fix until both commands pass.
  4. Run one final consolidated verification pass, record exact commands/results, and note any intentionally skipped broader gates outside lint/style scope.

Implementation Notes

Identified maintained commands from repo docs/scripts: bun run typecheck and bun run format:check:src. changelog:lint exists but is release-fragment specific, not a general lint/style gate for this request.

Ran bun run typecheck at 2026-03-11 01:48 PDT: passed.

Ran bun run format:check:src at 2026-03-11 01:48 PDT: failed on src/release-workflow.test.ts.

Applied a scoped Prettier rewrite with ./node_modules/.bin/prettier --write src/release-workflow.test.ts.

Re-ran bun run format:check:src at 2026-03-11 01:49 PDT: passed.

Re-ran bun run typecheck at 2026-03-11 01:49 PDT: passed.

Skipped broader test/build/docs gates because the user asked specifically for lint/format/style cleanup and the only required change was a formatting-only update in one test file.

Final Summary

Resolved the repo's current static/style failure by reformatting src/release-workflow.test.ts to match the maintained Prettier scope. The only code change was line wrapping in the generate:config-example assertion; behavior did not change.

Verification run:

  • bun run typecheck
  • bun run format:check:src
  • ./node_modules/.bin/prettier --write src/release-workflow.test.ts
  • bun run format:check:src
  • bun run typecheck

Result: both maintained gates requested for this cleanup now pass. Broader build/test/docs lanes were intentionally not run because this task was limited to lint/format/style checks and required a formatting-only fix.