settings.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "files.exclude": {
  3. "*.egg-info": true,
  4. "*.log": false,
  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. "editor.codeActionsOnSave": {
  22. "source.fixAll.eslint": true
  23. },
  24. "[javascript]": {
  25. "editor.formatOnSave": true,
  26. "editor.tabSize": 2
  27. },
  28. "[typescript]": {
  29. "editor.formatOnSave": true,
  30. "editor.tabSize": 2
  31. },
  32. // Exclude Specific Files from Auto-Imports
  33. "typescript.preferences.autoImportFileExcludePatterns": [
  34. "**/node_modules/@storybook/theming/*",
  35. "**/node_modules/@storybook/addons/*",
  36. "**/node_modules/@testing-library/*"
  37. ],
  38. "[typescriptreact]": {
  39. "editor.formatOnSave": true,
  40. "editor.tabSize": 2
  41. },
  42. "[javascriptreact]": {
  43. "editor.formatOnSave": true,
  44. "editor.tabSize": 2
  45. },
  46. "[less]": {
  47. "editor.formatOnSave": true
  48. },
  49. "[python]": {
  50. "editor.formatOnSave": true,
  51. "editor.codeActionsOnSave": {
  52. "source.organizeImports": true
  53. }
  54. },
  55. "[html]": {
  56. "editor.formatOnSave": false
  57. },
  58. "python.linting.pylintEnabled": false,
  59. "python.linting.flake8Enabled": true,
  60. // test discovery is sluggish and the UI around running
  61. // tests is often in your way and misclicked
  62. "python.testing.pytestEnabled": false,
  63. "python.testing.unittestEnabled": false,
  64. "python.testing.nosetestsEnabled": false,
  65. "editor.tabSize": 4,
  66. "restructuredtext.confPath": "",
  67. "python.linting.enabled": true,
  68. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  69. "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
  70. "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
  71. "python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
  72. "python.formatting.provider": "black"
  73. }