From 222a6d47c51b9a0b3f152e63ad446f6a74eafe6a Mon Sep 17 00:00:00 2001
From: Hugo Locurcio <hugo.locurcio@hugo.pro>
Date: Fri, 1 Mar 2019 15:27:05 +0100
Subject: [PATCH] Enforce LF line endings in pre-commit

- Update pre-commit hooks to 2.1.0
---
 .pre-commit-config.yaml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c682766..9c72498 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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]
-- 
GitLab