Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ repos:
- id: check-snake-case
- id: check-no-dashes
- id: check-non-existing-and-duplicate-excludes
- repo: https://github.com/cbachhuber/pre-commit-search-and-replace
rev: 4d445a3fbc6e823b977c3e1a9ba90555cc7aeebd
hooks:
- id: search-and-replace
6 changes: 6 additions & 0 deletions .pre-commit-search-and-replace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- search: /Something [bB]ad/
replacement: Something Good
- search: foobar
insensitive: true
replacement: FOOBAR
- search: JustFailIfThisStringIsFound
Loading