settings.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "files.exclude": {
  3. "*.egg-info": true,
  4. "*.log": true,
  5. "**/*.js.map": true,
  6. "**/*.min.js": true,
  7. "**/*.pyc": true,
  8. "build": true,
  9. "htmlcov": true,
  10. "node_modules": true,
  11. "src/sentry/locale": true,
  12. "src/sentry/static/sentry/dist/": true
  13. },
  14. "search.followSymlinks": false,
  15. "files.trimTrailingWhitespace": true,
  16. "files.trimFinalNewlines": true,
  17. "files.insertFinalNewline": true,
  18. "files.associations": {
  19. "*.jsx": "javascriptreact"
  20. },
  21. "[javascript]": {
  22. "editor.formatOnSave": true,
  23. "editor.tabSize": 2
  24. },
  25. "[typescript]": {
  26. "editor.formatOnSave": true,
  27. "editor.tabSize": 2
  28. },
  29. // Exclude Specific Files from Auto-Imports
  30. "typescript.preferences.autoImportFileExcludePatterns": [
  31. "**/node_modules/@storybook/theming/*",
  32. "**/node_modules/@storybook/addons/*",
  33. "**/node_modules/@testing-library/*"
  34. ],
  35. "[typescriptreact]": {
  36. "editor.formatOnSave": true,
  37. "editor.tabSize": 2
  38. },
  39. "[javascriptreact]": {
  40. "editor.formatOnSave": true,
  41. "editor.tabSize": 2
  42. },
  43. "[less]": {
  44. "editor.formatOnSave": true
  45. },
  46. "[python]": {
  47. "editor.formatOnSave": true,
  48. "editor.codeActionsOnSave": {
  49. "source.organizeImports": true
  50. }
  51. },
  52. "[html]": {
  53. "editor.formatOnSave": false
  54. },
  55. "python.linting.pylintEnabled": false,
  56. "python.linting.flake8Enabled": true,
  57. // test discovery is sluggish and the UI around running
  58. // tests is often in your way and misclicked
  59. "python.testing.pytestEnabled": false,
  60. "python.testing.unittestEnabled": false,
  61. "python.testing.nosetestsEnabled": false,
  62. "editor.tabSize": 4,
  63. "restructuredtext.confPath": "",
  64. "python.linting.enabled": true,
  65. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  66. "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
  67. "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
  68. "python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
  69. "python.formatting.provider": "black"
  70. }