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:28:57 +01:00
parent e7fc790e5a
commit d76e262bb9
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 repos:
rev: v2.0.0 - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks: hooks:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace - id: trailing-whitespace
- id: mixed-line-ending
args: [--fix=lf]