diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c68276642ac6fe003980cdbbc30d1131a320f76f
--- /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 dcd8c52a33362d1bea2f4080c68a693cafcc6a86..db1644c119fdef6ca8ad90d70742e7fe46c4d56f 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