Skip to content

chore: husky hooks, strict TypeScript, structured logging, audit registry - #567

Open
Nimatstar wants to merge 1 commit into
Dfunder:mainfrom
Nimatstar:chore/husky-strict-logging-audit
Open

chore: husky hooks, strict TypeScript, structured logging, audit registry#567
Nimatstar wants to merge 1 commit into
Dfunder:mainfrom
Nimatstar:chore/husky-strict-logging-audit

Conversation

@Nimatstar

Copy link
Copy Markdown

Four small, focused quality improvements.

  • Pre-commit hooks — add husky + a pre-commit hook running lint-staged (eslint --fix + prettier) via a .lintstagedrc.json, plus the prepare script. Closes Add Pre-commit Hooks #559
  • TypeScript strict mode — enable strict: true in tsconfig.json (keeping the NestJS-friendly strictPropertyInitialization: false) and add docs/typing-guidelines.md. Closes Add TypeScript Strict Mode #557
  • Comprehensive logging — add a structured AppLoggerService with log levels and correlation-id support, plus docs/logging-strategy.md. Closes Create Comprehensive Logging Strategy #556
  • Audit logging — add an AuditAction registry of sensitive operations and docs/audit-logging.md covering immutability and the admin viewer. Closes Implement Audit Logging for Sensitive Actions #550

Closes #559
Closes #557
Closes #556
Closes #550

…ction registry

- Add husky pre-commit running lint-staged (eslint + prettier) (closes Dfunder#559)
- Enable TypeScript strict mode with typing guidelines doc (closes Dfunder#557)
- Add structured AppLoggerService with levels + correlation ids and docs (closes Dfunder#556)
- Add AuditAction registry for sensitive operations and audit-logging docs (closes Dfunder#550)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Pre-commit Hooks Add TypeScript Strict Mode Create Comprehensive Logging Strategy Implement Audit Logging for Sensitive Actions

1 participant