mirror of
https://github.com/trycua/computer.git
synced 2026-01-07 05:50:13 -06:00
- Add `.editorconfig` for editor consistency. - Configure GitHub Actions workflow for linting (`.github/workflows/lint.yml`). - Add pre-commit hooks for automated checks (`.pre-commit-config.yaml`). - Configure Prettier and exclusions (`.prettierrc.yaml`, `.prettierignore`). - Update VS Code extensions to include formatting tools (`.vscode/extensions.json`). - Adjust VS Code settings for auto-formatting (`.vscode/settings.json`).
25 lines
765 B
JSON
25 lines
765 B
JSON
{
|
|
"python-envs.pythonProjects": [],
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit"
|
|
},
|
|
"extensions.ignoreRecommendations": false,
|
|
"python.formatting.provider": "black",
|
|
"[python]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
},
|
|
"[javascript][typescript][typescriptreact][javascriptreact]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"ruff.configuration": "${workspaceFolder}/pyproject.toml",
|
|
"mypy-type-checker.args": [
|
|
"--config-file",
|
|
"${workspaceFolder}/pyproject.toml"
|
|
],
|
|
"mypy-type-checker.path": [
|
|
"${workspaceFolder}"
|
|
]
|
|
} |