🚨 auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2024-01-21 11:32:28 +00:00 committed by noneflow[bot]
parent 16fcd4c639
commit 41b7d5a3a0
3 changed files with 21 additions and 21 deletions

View File

@ -2,7 +2,7 @@
"name": "Default Linux Universal", "name": "Default Linux Universal",
"image": "mcr.microsoft.com/devcontainers/universal:2-linux", "image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"features": { "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", "postCreateCommand": "poetry config virtualenvs.in-project true && poetry install -E all && poetry run pre-commit install && yarn install",
"customizations": { "customizations": {
@ -15,31 +15,31 @@
"editor.defaultFormatter": "ms-python.black-formatter", "editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.ruff": true, "source.fixAll.ruff": true,
"source.organizeImports": true "source.organizeImports": true,
} },
}, },
"[javascript]": { "[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
}, },
"[html]": { "[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
}, },
"[typescript]": { "[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
}, },
"[javascriptreact]": { "[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
}, },
"[typescriptreact]": { "[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
}, },
"files.exclude": { "files.exclude": {
"**/__pycache__": true "**/__pycache__": true,
}, },
"files.watcherExclude": { "files.watcherExclude": {
"**/target/**": true, "**/target/**": true,
"**/__pycache__": true "**/__pycache__": true,
} },
}, },
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
@ -49,8 +49,8 @@
"charliermarsh.ruff", "charliermarsh.ruff",
"EditorConfig.EditorConfig", "EditorConfig.EditorConfig",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss" "bradlc.vscode-tailwindcss",
] ],
} },
} },
} }

View File

@ -38,8 +38,8 @@
/* Use tslib */ /* Use tslib */
"importHelpers": true, "importHelpers": true,
"noEmitHelpers": true "noEmitHelpers": true,
}, },
"include": ["./**/.eslintrc.js", "./**/.stylelintrc.js"], "include": ["./**/.eslintrc.js", "./**/.stylelintrc.js"],
"exclude": ["node_modules", "**/lib/**/*"] "exclude": ["node_modules", "**/lib/**/*"],
} }

View File

@ -6,11 +6,11 @@
"types": [ "types": [
"node", "node",
"@docusaurus/module-type-aliases", "@docusaurus/module-type-aliases",
"@nullbot/docusaurus-theme-nonepress" "@nullbot/docusaurus-theme-nonepress",
], ],
"paths": { "paths": {
"@/*": ["./src/*"], "@/*": ["./src/*"],
"@theme/*": ["./src/theme/*"] "@theme/*": ["./src/theme/*"],
}, },
/* Strict Type-Checking Options */ /* Strict Type-Checking Options */
@ -31,6 +31,6 @@
/* Use tslib */ /* Use tslib */
"importHelpers": true, "importHelpers": true,
"noEmitHelpers": true "noEmitHelpers": true,
} },
} }