diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 000000000000..90abf0be969b --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,4 @@ +FROM mcr.microsoft.com/devcontainers/base:ubuntu +RUN wget https://github.com/errata-ai/vale/releases/download/v2.22.0/vale_2.22.0_Linux_64-bit.tar.gz && \ + tar -xvzf vale_2.22.0_Linux_64-bit.tar.gz -C bin && \ + export PATH=./bin:"$PATH" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000000..24b024f57db2 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "build": { + "dockerfile": "Dockerfile" + }, + "features": { + "ghcr.io/devcontainers/features/git:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers/features/powershell:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "darkriszty.markdown-table-prettify", + "davidanson.vscode-markdownlint", + "docsmsft.docs-authoring-pack", + "eamodio.gitlens", + "errata-ai.vale-server", + "marvhen.reflow-markdown", + "ms-vscode.powershell", + "ms-vscode.wordcount", + "nhoizey.gremlins", + "redhat.vscode-yaml", + "shuworks.vscode-table-formatter", + "streetsidesoftware.code-spell-checker", + "tyriar.sort-lines", + "usernamehw.errorlens", + "wmaurer.change-case", + "Acrolinx.vscode-sidebar", + "yzane.markdown-pdf" + ] + } + } +} diff --git a/.gitattributes b/.gitattributes index 9fb85ec49f01..716ed3725667 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,6 +9,9 @@ # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf +# Ensure devcontainer files are always LF +.devcontainer/** eol=lf + # Denote all files that are truly binary and should not be modified. *.png binary *.jpg binary \ No newline at end of file