From 87be9a6a5970c36e90f8db50a981fceaad0cf5de Mon Sep 17 00:00:00 2001
From: Hugo Locurcio <hugo.locurcio@hugo.pro>
Date: Thu, 21 Feb 2019 23:10:26 +0100
Subject: [PATCH] Add pre-commit hooks

See https://pre-commit.com/ for more information.
---
 .pre-commit-config.yaml | 6 ++++++
 locale/it.txt           | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 .pre-commit-config.yaml

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..c682766
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,6 @@
+- 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
diff --git a/locale/it.txt b/locale/it.txt
index dcd8c52..db1644c 100644
--- a/locale/it.txt
+++ b/locale/it.txt
@@ -18,4 +18,4 @@ Silver = Argento
 Gold = Oro
 Mithril = Mithril
 
-Copper Rail = Binario di rame
\ No newline at end of file
+Copper Rail = Binario di rame
-- 
GitLab