aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/.editorconfig
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-10-21 10:22:28 +0200
committerBjørn Erik Pedersen <[email protected]>2019-10-21 10:22:28 +0200
commit27aef3f1fbf657137e825f30bb50dda393618a6f (patch)
treebcc05254f2977e3cc75d7dcb4cbaac5625cf7a1b /docs/.editorconfig
parent39121de4d991bdcf5f202da4d8d81a8ac6c149fc (diff)
parentb9bd35d72e14932fb6588ff62b90cddef0a060fc (diff)
downloadhugo-27aef3f1fbf657137e825f30bb50dda393618a6f.tar.gz
hugo-27aef3f1fbf657137e825f30bb50dda393618a6f.zip
Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs'
Diffstat (limited to 'docs/.editorconfig')
-rw-r--r--docs/.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/.editorconfig b/docs/.editorconfig
new file mode 100644
index 000000000..dd2a0096f
--- /dev/null
+++ b/docs/.editorconfig
@@ -0,0 +1,20 @@
+# https://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+trim_trailing_whitespace = true
+
+[*.go]
+indent_size = 8
+indent_style = tab
+
+[*.js]
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false