Created
June 9, 2023 12:34
-
-
Save kasuken/064cd943bc49cb0b65d0ef6e8d921050 to your computer and use it in GitHub Desktop.
GitHub Codespaces devcontainer.json for Docusaurus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04", | |
"settings": { | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true | |
} | |
}, | |
"extensions": [ | |
"dbaeumer.vscode-eslint", | |
"orta.vscode-jest", | |
"esbenp.prettier-vscode", | |
"streetsidesoftware.code-spell-checker", | |
"ms-vscode.wordcount" | |
], | |
"forwardPorts": [3000], | |
"containerUser": "vscode", | |
"postCreateCommand": "yarn install", | |
"waitFor": "postCreateCommand", // otherwise automated jest tests fail | |
"features": { | |
"node": { | |
"version": "18" | |
}, | |
"github-cli": "latest" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment