summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorClaudius2019-04-04 12:31:08 +0200
committerClaudius2019-04-04 12:31:38 +0200
commite738efe217fc06572f37f8a4e732f3083b6cb1cd (patch)
treebefe61de890a1b87e1917107e621ef2afee9c047 /.editorconfig
parentf13a91c6988b55a0cd50fc530bdc13baa96bf3b4 (diff)
specifying the locale jsons to be in the exact style of poeditor should cut down on unneccessary changes ('churn')
Signed-off-by: Claudius <opensource@amenthes.de>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 75e2a698..1629e28f 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -17,3 +17,9 @@ trim_trailing_whitespace = false
[{.travis.yml,npm-shrinkwrap.json,package.json}]
indent_style = space
indent_size = 2
+
+[locales/*.json]
+# this is the exact style poeditor.com exports, so this should prevent churn.
+insert_final_newline = false
+indent_style = space
+indent_size = 4