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": {
|
2024-01-24 15:24:21 +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,
|
2024-01-24 15:24:21 +08:00
|
|
|
"source.organizeImports": true
|
|
|
|
}
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"[javascript]": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"[html]": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"[typescript]": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"[javascriptreact]": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"[typescriptreact]": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"files.exclude": {
|
2024-01-24 15:24:21 +08:00
|
|
|
"**/__pycache__": true
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/target/**": true,
|
2024-01-24 15:24:21 +08:00
|
|
|
"**/__pycache__": true
|
|
|
|
}
|
2022-07-08 12:24:48 +08:00
|
|
|
},
|
|
|
|
"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",
|
2024-01-24 15:24:21 +08:00
|
|
|
"bradlc.vscode-tailwindcss"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-05-19 11:55:56 +08:00
|
|
|
}
|