settings.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. ],
  34. "[typescriptreact]": {
  35. "editor.formatOnSave": true,
  36. "editor.tabSize": 2
  37. },
  38. "[javascriptreact]": {
  39. "editor.formatOnSave": true,
  40. "editor.tabSize": 2
  41. },
  42. "[less]": {
  43. "editor.formatOnSave": true
  44. },
  45. "[python]": {
  46. "editor.formatOnSave": true,
  47. "editor.codeActionsOnSave": {
  48. "source.organizeImports": true
  49. }
  50. },
  51. "[html]": {
  52. "editor.formatOnSave": false
  53. },
  54. "python.linting.pylintEnabled": false,
  55. "python.linting.flake8Enabled": true,
  56. // test discovery is sluggish and the UI around running
  57. // tests is often in your way and misclicked
  58. "python.testing.pytestEnabled": false,
  59. "python.testing.unittestEnabled": false,
  60. "python.testing.nosetestsEnabled": false,
  61. "editor.tabSize": 4,
  62. "restructuredtext.confPath": "",
  63. "python.linting.enabled": true,
  64. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  65. "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
  66. "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
  67. "python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
  68. "python.formatting.provider": "black"
  69. }