diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1cd588350..956d8cbe5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,23 +1,17 @@ { "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers/features/azure-cli:1": {} + }, + "postCreateCommand": "npm install -g @devcontainers/cli", "customizations": { "vscode": { "extensions": [ "mads-hartmann.bash-ide-vscode", - "dbaeumer.vscode-eslint" + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig" ] - }, - "codespaces": { - "repositories": { - "devcontainers/features": { - "permissions": "write-all" - } - } } - }, - "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, - "ghcr.io/devcontainers/features/azure-cli:1": {} - }, - "postCreateCommand": "npm install -g @devcontainers/cli" + } } diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..8aec0612d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*.json] +indent_style = tab + +[Dockerfile] +indent_style = spaces +indent_size = 4 + +[*.{yml,yaml}] +indent_style = spaces +indent_size = 2 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..ec901c15f --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + // We recommend this extension for contributors to assist with the correct styling and formatting of files in this repo. + "EditorConfig.EditorConfig", + ], +}