Skip to content

Commit

Permalink
fix: prevent todo comments hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-mayer committed Nov 24, 2024
1 parent 2617e9e commit 00b4aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
hooks:
- id: prevent-todo-comments
name: prevent todo comments
entry: '[ ^](//|#|<!--|/\*)\s*(TODO|FIXME)\b' # matches a comment beginning with "TODO" or "FIXME"
entry: '( |^)(//|#|<!--|/\*)\s*(TODO|FIXME)\b' # matches a comment beginning with "TODO" or "FIXME"
language: pygrep
files: \.(go|md|mdx)$
- id: prevent-too-small-headings
Expand Down

0 comments on commit 00b4aad

Please sign in to comment.