diff --git a/.devcontainer.json b/.devcontainer.json index e8da9421..a40b1278 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -21,7 +21,8 @@ "tamasfe.even-better-toml", "github.vscode-github-actions", "codecov.codecov", - "ritwickdey.liveserver" + "ritwickdey.liveserver", + "esbenp.prettier-vscode" ] } }, @@ -45,7 +46,7 @@ "source=./codeforlife-package-python,target=/workspace/codeforlife-package-python,type=bind,consistency=cached" ], "name": "portal-react", - "postCreateCommand": "./setup", + "postCreateCommand": "sudo chmod u+x ./setup && ./setup", "remoteUser": "root", "service": "base-service", "shutdownAction": "none", diff --git a/.vscode/codeforlife.code-snippets b/.vscode/codeforlife.code-snippets index e45c7bb5..c54a2b16 100644 --- a/.vscode/codeforlife.code-snippets +++ b/.vscode/codeforlife.code-snippets @@ -1,18 +1,4 @@ { - "javascript.module.doccomment": { - "body": [ - "/**", - " * \u00a9 Ocado Group", - " * Created on $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR at $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND($CURRENT_TIMEZONE_OFFSET).", - " *", - " * ${1:__description__}", - " */" - ], - "prefix": [ - "/" - ], - "scope": "javascript,typescript,javascriptreact,typescriptreact" - }, "python.module.docstring": { "body": [ "\"\"\"", diff --git a/.vscode/launch.json b/.vscode/launch.json index ef813efc..65fe7b64 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,13 +20,6 @@ "request": "test", "type": "debugpy" }, - { - "name": "React Dev Server", - "preLaunchTask": "start-react-dev-server", - "request": "launch", - "type": "chrome", - "url": "http://localhost:3000" - }, { "args": [ "runserver",