123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "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": [
- "**/node_modules/@storybook/theming/*",
- "**/node_modules/@storybook/addons/*",
- "**/node_modules/@testing-library/*"
- ],
- // 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
- }
- },
- "[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": "black",
- "python.testing.pytestArgs": [
- "tests"
- ],
- "restructuredtext.preview.docutils.disabled": true
- }
|