settings.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "files.exclude": {
  3. "**/*.pyc": true,
  4. "**/*.min.js": true,
  5. "**/*.js.map": true,
  6. "/static/": true,
  7. "node_modules": true,
  8. "htmlcov": true,
  9. "build": true,
  10. "*.log": true,
  11. "*.egg-info": true,
  12. "src/sentry/locale": true,
  13. "src/sentry/static/sentry/dist/": true
  14. },
  15. "search.followSymlinks": false,
  16. "files.trimTrailingWhitespace": true,
  17. "files.trimFinalNewlines": true,
  18. "files.insertFinalNewline": true,
  19. "eslint.options": {
  20. "configFile": ".eslintrc.js"
  21. },
  22. "files.associations": {
  23. "*.jsx": "javascriptreact"
  24. },
  25. "[javascript]": {
  26. "editor.formatOnSave": true
  27. },
  28. "[typescript]": {
  29. "editor.formatOnSave": true
  30. },
  31. "[typescriptreact]": {
  32. "editor.formatOnSave": true
  33. },
  34. "[javascriptreact]": {
  35. "editor.formatOnSave": true
  36. },
  37. "[less]": {
  38. "editor.formatOnSave": true
  39. },
  40. "[python]": {
  41. "editor.formatOnSave": true
  42. },
  43. "[html]": {
  44. "editor.formatOnSave": false
  45. },
  46. "python.linting.pylintEnabled": false,
  47. "python.linting.flake8Enabled": true,
  48. // https://github.com/DonJayamanne/pythonVSCode/issues/992
  49. "python.pythonPath": "${workspaceFolder}/.venv/bin/python",
  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. }