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
|
|
|
},
|
2024-01-26 11:12:57 +08:00
|
|
|
"postCreateCommand": "./scripts/setup-envs.sh",
|
2022-07-08 12:24:48 +08:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"settings": {
|
|
|
|
"python.analysis.diagnosticMode": "workspace",
|
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": {
|
2024-08-18 11:53:33 +08:00
|
|
|
"source.fixAll.ruff": "explicit",
|
|
|
|
"source.organizeImports": "explicit"
|
2024-01-24 15:24:21 +08:00
|
|
|
}
|
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
|
|
|
}
|