浏览代码

add .vscode with recommended plugins + settings

which will give a *great* out of the box experience for folks wanting to contribute and uses VS Code
Christian Winther 1 年之前
父节点
当前提交
627fffd1ce
共有 2 个文件被更改,包括 20 次插入0 次删除
  1. 13 0
      .vscode/extensions.json
  2. 7 0
      .vscode/settings.json

+ 13 - 0
.vscode/extensions.json

@@ -0,0 +1,13 @@
+{
+    "recommendations": [
+        "foxundermoon.shell-format",
+        "timonwong.shellcheck",
+        "jetmartin.bats",
+        "aaron-bond.better-comments",
+        "streetsidesoftware.code-spell-checker",
+        "editorconfig.editorconfig",
+        "github.vscode-github-actions",
+        "bmewburn.vscode-intelephense-client",
+        "redhat.vscode-yaml"
+    ]
+}

+ 7 - 0
.vscode/settings.json

@@ -0,0 +1,7 @@
+{
+    "shellformat.useEditorConfig": true,
+    "files.associations": {
+        ".env": "shellscript",
+        ".env.*": "shellscript"
+    }
+}