Files
noteflow/.claude/hooks/hookify.block-linter-config-frontend.local.md
Travis Vasceannie 1ce24cdf7b feat: reorganize Claude hooks and add RAG documentation structure with error handling policies
- Moved all hookify configuration files from `.claude/` to `.claude/hooks/` subdirectory for better organization
- Added four new blocking hooks to prevent common error handling anti-patterns:
  - `block-broad-exception-handler`: Prevents catching generic `Exception` with only logging
  - `block-datetime-now-fallback`: Blocks returning `datetime.now()` as fallback on parse failures to prevent data corruption
  - `block-default
2026-01-15 15:58:06 +00:00

1014 B

name, enabled, event, action, conditions
name enabled event action conditions
block-linter-config-frontend true file block
field operator pattern
file_path regex_match ^client/(?!node_modules/).*(?:.?eslint(?:rc|.config).*|.?prettier(?:rc|.config).*|biome.json|tsconfig.json|.?rustfmt.toml|.?clippy.toml)$

🚫 BLOCKED: Frontend Linter Configuration Edit Attempt

You are attempting to edit a frontend linter/formatter configuration file in client/.

Protected TypeScript/JavaScript files:

  • eslint.config.js / .eslintrc*
  • .prettierrc* / prettier.config.*
  • biome.json
  • tsconfig.json

Protected Rust files:

  • .rustfmt.toml / rustfmt.toml
  • .clippy.toml / clippy.toml

Why this is blocked: Frontend linter and formatter configurations are carefully tuned for this project. Changes require explicit user approval.

If you need to modify linter settings:

  1. Ask the user for explicit permission
  2. Explain what change is needed and why
  3. Wait for approval before proceeding