2022-05-19 11:55:56 +08:00
|
|
|
{
|
2022-11-14 19:05:34 +08:00
|
|
|
"name": "Default Linux Universal",
|
|
|
|
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
|
|
|
"features": {
|
2023-03-07 11:33:13 +08:00
|
|
|
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
|
2022-05-19 11:55:56 +08:00
|
|
|
},
|
2022-11-21 19:59:39 +08:00
|
|
|
"postCreateCommand": "poetry config virtualenvs.in-project true && poetry install -E all && poetry run pre-commit install && yarn install",
|
2022-07-08 12:24:48 +08:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {
|
|
|
|
"python.analysis.diagnosticMode": "workspace",
|
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
2023-06-24 14:47:35 +08:00
|
|
|
"ruff.organizeImports": false,
|
2022-07-08 12:24:48 +08:00
|
|
|
"[python]": {
|
|
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
|
|
"editor.codeActionsOnSave": {
|
2023-06-24 14:47:35 +08:00
|
|
|
"source.fixAll.ruff": true,
|
2022-07-08 12:24:48 +08:00
|
|
|
"source.organizeImports": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"[javascript]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[html]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescript]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[javascriptreact]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescriptreact]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"files.exclude": {
|
|
|
|
"**/__pycache__": true
|
|
|
|
},
|
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/target/**": true,
|
|
|
|
"**/__pycache__": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extensions": [
|
|
|
|
"ms-python.python",
|
|
|
|
"ms-python.vscode-pylance",
|
|
|
|
"ms-python.isort",
|
|
|
|
"ms-python.black-formatter",
|
2023-06-24 14:47:35 +08:00
|
|
|
"charliermarsh.ruff",
|
2022-07-08 12:24:48 +08:00
|
|
|
"EditorConfig.EditorConfig",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"bradlc.vscode-tailwindcss"
|
|
|
|
]
|
2022-05-19 11:55:56 +08:00
|
|
|
}
|
2022-11-14 19:05:34 +08:00
|
|
|
}
|
2022-05-19 11:55:56 +08:00
|
|
|
}
|