mirror of
https://github.com/minetest-mods/maptools.git
synced 2024-12-24 00:10:21 +01:00
Enforce LF line endings in pre-commit
- Update pre-commit hooks to 2.1.0
This commit is contained in:
parent
14f9397a4e
commit
8f5f661387
@ -1,6 +1,9 @@
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.0.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.1.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
|
||||
- id: mixed-line-ending
|
||||
args: [--fix=lf]
|
||||
|
Loading…
Reference in New Issue
Block a user