summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorRyan <me@hackerc.at>2021-08-09 18:07:26 +0200
committerGitHub <noreply@github.com>2021-08-09 18:07:26 +0200
commit5c841e22ab8a71cb305fd97ebc513e2b959e6b79 (patch)
tree9206f598d721ea0ad9c35c9cf6f00c870a8232b0 /.editorconfig
parentSimplify Matrix decode, add defaults for fail-fast and max-parallel, add test... (diff)
downloadforgejo-act-5c841e22ab8a71cb305fd97ebc513e2b959e6b79.tar.xz
forgejo-act-5c841e22ab8a71cb305fd97ebc513e2b959e6b79.zip
Update docs, file formatting and docker images (#766)
* docs: fix wrong licence link * fix: add more formatting settings, reformat all feat: add vscode extensions recommendations * docs: update contributing documentation * fix: remove unnecessary comment it was due to broken checkout * docs: rework installation section it has been brought up few times, new style should be easier to understand * docs: update images provided by catthehacker * docs: replace 18.04 with recent image * fix: add final new line
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 4e61e80..07a45c4 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,4 +1,16 @@
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+insert_final_newline = true
+trim_trailing_whitespace = true
+
# Override for Makefile
[{Makefile, makefile, GNUmakefile}]
indent_style = tab
indent_size = 4
+
+[*.{yml.yaml,json}]
+indent_style = space
+indent_size = 2