summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-08 17:00:58 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-08 17:00:58 +0200
commitb7df2f71405f591c266df045cba9afcc02679797 (patch)
tree05320118791d1cd81b7e84ccd0e9e172e7002265
parentcddf95ff6a1cd0559714d048db9b9c9615ff018b (diff)
downloadgohugo-theme-ed-b7df2f71405f591c266df045cba9afcc02679797.tar.gz
Update editor config
-rw-r--r--.editorconfig20
1 files changed, 9 insertions, 11 deletions
diff --git a/.editorconfig b/.editorconfig
index e30d824..6e9afde 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,21 +1,19 @@
# editorconfig.org
-root = true
+root = true
[*]
-charset = utf-8
-indent_style = space
-end_of_line = lf
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+charset = utf-8
+indent_size = 4
trim_trailing_whitespace = true
-insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
-[*.{json,webmanifest,yaml,yml,toml,md,babelrc,eslintrc,postcssrc,stylelintrc,ecrc,gitattributes}]
-indent_size = 2
-
-[*.html]
-indent_size = 4
+[*.{html,svg,css,scss,json,webmanifest,yaml,yml,toml,md,babelrc,eslintrc,postcssrc,stylelintrc,ecrc,gitattributes}]
+indent_size = 2
[layouts/**.{svg}]
-insert_final_newline = false
+insert_final_newline = false