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.js ESLint flat config with TypeScript rules, consistent-type-imports
  • .stylelintrc.json Stylelint config for CSS files
  • .htmlhintrc HTMLHint config for Hugo templates
  • pre-commit Pre-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.json
    • pre-commit

ESLint auto-fixes across TypeScript codebase

2 files changed
  • EffectUI.ts 100-line diff: consistent-type-imports, removed stale disable comments
  • PolyCentriCityEffect.ts Import 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.json All dependencies updated to latest versions
  • vitest.config.ts Vitest 4 config (was inline in package.json)
  • package-lock.json Lock file updated for all dependency changes
  • All npm dependencies updated to latest. Vitest updated to v4 which requires a dedicated vitest.config.ts (configuration no longer embedded in package.json). 38-line package.json diff, 3311-line lock file churn. baseline internal
    2 files
    • package.json
    • vitest.config.ts