mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
Co-authored-by: BalconyJH <balconyjh@gmail.com> Co-authored-by: suyiiyii <suyiiyii@gmail.com>
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "Default Linux Universal",
|
|
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
|
"features": {
|
|
"ghcr.io/va-h/devcontainers-features/uv:1": {}
|
|
},
|
|
"postCreateCommand": "uv venv && uv sync --all-groups --all-extras && uv run pre-commit install && npm install -g pnpm && pnpm install",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"python.analysis.diagnosticMode": "workspace",
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"ruff.organizeImports": false,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": true,
|
|
"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",
|
|
"charliermarsh.ruff",
|
|
"EditorConfig.EditorConfig",
|
|
"esbenp.prettier-vscode",
|
|
"bradlc.vscode-tailwindcss"
|
|
]
|
|
}
|
|
}
|
|
}
|