mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
16fcd4c639
commit
41b7d5a3a0
@ -2,7 +2,7 @@
|
||||
"name": "Default Linux Universal",
|
||||
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
|
||||
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
||||
},
|
||||
"postCreateCommand": "poetry config virtualenvs.in-project true && poetry install -E all && poetry run pre-commit install && yarn install",
|
||||
"customizations": {
|
||||
@ -15,31 +15,31 @@
|
||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.ruff": true,
|
||||
"source.organizeImports": true
|
||||
}
|
||||
"source.organizeImports": true,
|
||||
},
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
"[javascriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
"files.exclude": {
|
||||
"**/__pycache__": true
|
||||
"**/__pycache__": true,
|
||||
},
|
||||
"files.watcherExclude": {
|
||||
"**/target/**": true,
|
||||
"**/__pycache__": true
|
||||
}
|
||||
"**/__pycache__": true,
|
||||
},
|
||||
},
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
@ -49,8 +49,8 @@
|
||||
"charliermarsh.ruff",
|
||||
"EditorConfig.EditorConfig",
|
||||
"esbenp.prettier-vscode",
|
||||
"bradlc.vscode-tailwindcss"
|
||||
]
|
||||
}
|
||||
}
|
||||
"bradlc.vscode-tailwindcss",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -38,8 +38,8 @@
|
||||
|
||||
/* Use tslib */
|
||||
"importHelpers": true,
|
||||
"noEmitHelpers": true
|
||||
"noEmitHelpers": true,
|
||||
},
|
||||
"include": ["./**/.eslintrc.js", "./**/.stylelintrc.js"],
|
||||
"exclude": ["node_modules", "**/lib/**/*"]
|
||||
"exclude": ["node_modules", "**/lib/**/*"],
|
||||
}
|
||||
|
@ -6,11 +6,11 @@
|
||||
"types": [
|
||||
"node",
|
||||
"@docusaurus/module-type-aliases",
|
||||
"@nullbot/docusaurus-theme-nonepress"
|
||||
"@nullbot/docusaurus-theme-nonepress",
|
||||
],
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"@theme/*": ["./src/theme/*"]
|
||||
"@theme/*": ["./src/theme/*"],
|
||||
},
|
||||
|
||||
/* Strict Type-Checking Options */
|
||||
@ -31,6 +31,6 @@
|
||||
|
||||
/* Use tslib */
|
||||
"importHelpers": true,
|
||||
"noEmitHelpers": true
|
||||
}
|
||||
"noEmitHelpers": true,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user