mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-03 18:46:45 +00:00
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "Ubuntu",
|
|
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
|
|
"features": {
|
|
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {},
|
|
"ghcr.io/devcontainers/features/node:1": {},
|
|
"ghcr.io/meaningful-ooo/devcontainer-features/fish:2": {}
|
|
},
|
|
"postCreateCommand": "./scripts/setup-envs.sh",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"python.analysis.diagnosticMode": "workspace",
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": "explicit",
|
|
"source.organizeImports": "explicit"
|
|
}
|
|
},
|
|
"[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",
|
|
"charliermarsh.ruff",
|
|
"EditorConfig.EditorConfig",
|
|
"esbenp.prettier-vscode",
|
|
"bradlc.vscode-tailwindcss"
|
|
]
|
|
}
|
|
}
|
|
}
|