settings.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. // test discovery is sluggish and the UI around running
  49. // tests is often in your way and misclicked
  50. "python.testing.pytestEnabled": false,
  51. "python.testing.unittestEnabled": false,
  52. "python.testing.nosetestsEnabled": false,
  53. "editor.tabSize": 4,
  54. "restructuredtext.confPath": "",
  55. "python.linting.enabled": true,
  56. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  57. "python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
  58. "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
  59. "python.formatting.provider": "black"
  60. }