Files
computer/.vscode/settings.json
Aditya Bavadekar 258ae86988 chore: Setup code formatting and linting
- 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`).
2025-10-21 21:27:53 +05:30

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}"
]
}