Pay down pre-existing error→warn lint debt. Removes dead imports/vars, unused functions, redundant regex/string escapes, and stale eslint-disable directives; converts unused `catch (_e)` to optional catch binding (src/*.cts). No behavior change. Lint 345→125 warnings (0 errors); deferred categories (n/no-process-exit, test-sleeps, control-regex) tracked in #732 for follow-up. Full test suite green (0 failures); code-review verified all removals unused and all escape fixes semantics-preserving. Closes #732 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -163,9 +163,6 @@ describe('milestone-summary command structure', () => {
|
||||
});
|
||||
|
||||
describe('milestone-summary artifact path resolution', () => {
|
||||
const { createTempProject, cleanup } = require('./helpers.cjs');
|
||||
let tmpDir;
|
||||
|
||||
test('archived milestone paths point to milestones/ directory', () => {
|
||||
const content = fs.readFileSync(workflowPath, 'utf-8');
|
||||
// Archived roadmap path should be under milestones/
|
||||
@@ -326,7 +323,7 @@ describe('milestone-summary git stats resilience', () => {
|
||||
// ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
describe('audit.cjs module (#2158)', () => {
|
||||
const { createTempProject: createTP, cleanup: cleanTP, runGsdTools: run } = require('./helpers.cjs');
|
||||
const { createTempProject: createTP, cleanup: cleanTP } = require('./helpers.cjs');
|
||||
let tmpDir;
|
||||
|
||||
beforeEach(() => { tmpDir = createTP('audit-test'); });
|
||||
|
||||
Reference in New Issue
Block a user