staccato-hugo
2026-03-22
Strict ESLint/Stylelint/HTMLHint linting with husky pre-commit and dependency updates
67 files · 2,823+ · 1,334-
ESLint, Stylelint, and HTMLHint configuration
4 files changed
eslint.config.jsESLint flat config with TypeScript rules, consistent-type-imports.stylelintrc.jsonStylelint config for CSS files.htmlhintrcHTMLHint config for Hugo templatespre-commitPre-commit hook running all three linters
- ESLint flat config (eslint.config.js, 153 lines) with @typescript-eslint rules, consistent-type-imports enforced, no-explicit-any warnings. Stylelint with standard CSS rules. HTMLHint for Hugo template validation. husky pre-commit runs all three linters on staged files, blocking commits with violations.
baseline
internal
3 files
eslint.config.js.stylelintrc.jsonpre-commit
ESLint auto-fixes across TypeScript codebase
2 files changed
EffectUI.ts100-line diff: consistent-type-imports, removed stale disable commentsPolyCentriCityEffect.tsImport style fixes
- ESLint –fix applied across all TypeScript source and test files: import type syntax for type-only imports (consistent-type-imports), removed stale // eslint-disable comments, standardized import ordering. console.log in EffectUI replaced with logger.debug; @ts-nocheck TODO comments added where type errors require deeper follow-up.
streamline
internal
1 file
EffectUI.ts
Dependency updates and Vitest 4 config
3 files changed
package.jsonAll dependencies updated to latest versionsvitest.config.tsVitest 4 config (was inline in package.json)package-lock.jsonLock file updated for all dependency changes