fix: resolve ESLint errors and update tests for project-name fallback

- Fix 16 ESLint no-unused-vars errors across hook scripts and tests
- Add eslint-disable comment for intentional control-regex in ANSI stripper
- Update session file test to use getSessionIdShort() instead of hardcoded 'default'
  (reflects PR #110's project-name fallback behavior)
- Add marketing/ to .gitignore (local drafts)
- Add skill-create-output.js (terminal output formatter)

All 69 tests now pass. CI should be green.
This commit is contained in:
Affaan Mustafa
2026-01-29 02:58:51 -08:00
parent c9ef02ba42
commit a44a0553bb
12 changed files with 262 additions and 17 deletions

View File

@@ -7,7 +7,7 @@
const fs = require('fs');
const path = require('path');
const { commandExists, getClaudeDir, readFile, writeFile, log, runCommand } = require('./utils');
const { commandExists, getClaudeDir, readFile, writeFile } = require('./utils');
// Package manager definitions
const PACKAGE_MANAGERS = {

View File

@@ -165,7 +165,7 @@ function findFiles(dir, pattern, options = {}) {
searchDir(fullPath);
}
}
} catch (err) {
} catch (_err) {
// Ignore permission errors
}
}