Enforce LF line endings in pre-commit

- Update pre-commit hooks to 2.1.0
This commit is contained in:
Hugo Locurcio 2019-03-01 15:27:05 +01:00
parent d6e2b237c7
commit 222a6d47c5
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -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]