12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- {
- "files.exclude": {
- "*.egg-info": true,
- "*.log": false,
- "**/*.js.map": true,
- "**/*.min.js": true,
- "**/*.pyc": true,
- "build": true,
- "htmlcov": true,
- "node_modules": true,
- "src/sentry/locale": true,
- "src/sentry/static/sentry/dist/": true,
- "model-manifest.json": true
- },
- "search.followSymlinks": false,
- "files.trimTrailingWhitespace": true,
- "files.trimFinalNewlines": true,
- "files.insertFinalNewline": true,
- "files.associations": {
- "*.jsx": "javascriptreact"
- },
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": true
- },
- "[javascript]": {
- "editor.formatOnSave": true,
- "editor.tabSize": 2
- },
- "[typescript]": {
- "editor.formatOnSave": true,
- "editor.tabSize": 2
- },
- // Exclude Specific Files from Auto-Imports
- "typescript.preferences.autoImportFileExcludePatterns": [
- "**/config/chartcuterie/*",
- "**/node_modules/@testing-library/*",
- "**/node_modules/@tanstack/react-query"
- ],
- // Avoid relative imports
- "typescript.preferences.importModuleSpecifier": "non-relative",
- "[typescriptreact]": {
- "editor.formatOnSave": true,
- "editor.tabSize": 2
- },
- "[javascriptreact]": {
- "editor.formatOnSave": true,
- "editor.tabSize": 2
- },
- "[less]": {
- "editor.formatOnSave": true
- },
- "[python]": {
- "editor.formatOnSave": true,
- "editor.codeActionsOnSave": {
- "source.organizeImports": true
- },
- "editor.defaultFormatter": "ms-python.python"
- },
- "[html]": {
- "editor.formatOnSave": false
- },
- "python.linting.pylintEnabled": false,
- "python.linting.flake8Enabled": true,
- // test discovery is sluggish and the UI around running
- // tests is often in your way and misclicked
- "python.testing.pytestEnabled": true,
- "python.testing.unittestEnabled": false,
- "python.testing.nosetestsEnabled": false,
- "editor.tabSize": 4,
- "restructuredtext.confPath": "",
- "python.linting.enabled": true,
- "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
- "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
- "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
- "python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
- "python.formatting.provider": "none",
- "python.testing.pytestArgs": ["tests"]
- }
|