Skip to content

Commit

Permalink
Merge pull request #378 from kamiazya/add-devcontainer-setting
Browse files Browse the repository at this point in the history
Add devcontainer settings
  • Loading branch information
kamiazya authored Sep 23, 2021
2 parents 69f64a7 + 1dd1041 commit f91efef
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-16

RUN apt-get update && apt-get install -y graphviz
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "rediagram",
"dockerFile": "Dockerfile",
"postCreateCommand": "yarn insyall --frozen-lockfile",
"extensions": [
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"Orta.vscode-jest"
],
"settings": {
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.formatOnType": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
}
9 changes: 1 addition & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,5 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"markdownlint.config": {
"default": true,
"MD041": false,
"MD026": false,
"MD033": false
},
"typescript.tsdk": "node_modules/typescript/lib",
"deno.enable": false
"typescript.tsdk": "node_modules/typescript/lib"
}

0 comments on commit f91efef

Please sign in to comment.