settings.json 1.8 KB

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