summaryrefslogtreecommitdiffstats
path: root/.vscode
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 /.vscode
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 '.vscode')
-rw-r--r--.vscode/extensions.json9
-rw-r--r--.vscode/settings.json15
2 files changed, 20 insertions, 4 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000..47730ee
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,9 @@
+{
+ "recommendations": [
+ "editorconfig.editorconfig",
+ "golang.go",
+ "davidanson.vscode-markdownlint",
+ "esbenp.prettier-vscode",
+ "redhat.vscode-yaml"
+ ]
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 0edc2fb..8f4495d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,13 @@
{
- "go.lintTool": "golangci-lint",
- "go.lintFlags": [
- "--fix"
- ]
+ "go.lintTool": "golangci-lint",
+ "go.lintFlags": ["--fix"],
+ "[json]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[markdown]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[yaml]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ }
}