mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
pre-commit: add hook forbid-submodules
https://github.com/pre-commit/pre-commit-hooks#forbid-submodules If you want to ban them entirely use forbid-submodules. Really this is just one extra check or test we can have.
This commit is contained in:
@@ -26,6 +26,7 @@ repos:
|
||||
args: [--unique]
|
||||
files: ^codespell\.txt$
|
||||
- id: fix-byte-order-marker
|
||||
- id: forbid-submodules
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
|
||||
Reference in New Issue
Block a user