settings.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. "eslint.options": {
  19. "configFile": ".eslintrc.js"
  20. },
  21. "files.associations": {
  22. "*.jsx": "javascriptreact"
  23. },
  24. "[javascript]": {
  25. "editor.formatOnSave": true
  26. },
  27. "[typescript]": {
  28. "editor.formatOnSave": true
  29. },
  30. "[typescriptreact]": {
  31. "editor.formatOnSave": true
  32. },
  33. "[javascriptreact]": {
  34. "editor.formatOnSave": true
  35. },
  36. "[less]": {
  37. "editor.formatOnSave": true
  38. },
  39. "[python]": {
  40. "editor.formatOnSave": true,
  41. "editor.codeActionsOnSave": {
  42. "source.organizeImports": true
  43. }
  44. },
  45. "[html]": {
  46. "editor.formatOnSave": false
  47. },
  48. "python.linting.pylintEnabled": false,
  49. "python.linting.flake8Enabled": true,
  50. // test discovery is sluggish and the UI around running
  51. // tests is often in your way and misclicked
  52. "python.testing.pytestEnabled": false,
  53. "python.testing.unittestEnabled": false,
  54. "python.testing.nosetestsEnabled": false,
  55. "editor.tabSize": 4,
  56. "restructuredtext.confPath": "",
  57. "python.linting.enabled": true,
  58. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  59. "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
  60. "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
  61. "python.formatting.provider": "black"
  62. }