settings.json 1.8 KB

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