Skip to content

Commit

Permalink
Merge pull request mruby#369 from jbampton/add-pre-commit-hooks-for-tabs
Browse files Browse the repository at this point in the history
Add two more `pre-commit` hooks
  • Loading branch information
matz authored Mar 1, 2023
2 parents 951bcc7 + 07ffac4 commit 2a741b2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ repos:
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
# - repo: git://github.com/Lucas-C/pre-commit-hooks
# rev: v1.1.9
# hooks:
# - id: forbid-tabs
# - id: remove-tabs
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.4.2
hooks:
- id: forbid-tabs
exclude: ^Makefile$
- id: remove-tabs
args: [--whitespaces-count, '2']
exclude: ^Makefile$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
hooks:
Expand Down

0 comments on commit 2a741b2

Please sign in to comment.