settings.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. "[javascriptreact]": {
  29. "editor.formatOnSave": true
  30. },
  31. "[less]": {
  32. "editor.formatOnSave": true
  33. },
  34. "[python]": {
  35. "editor.formatOnSave": true
  36. },
  37. "python.linting.pylintEnabled": false,
  38. "python.linting.flake8Enabled": true,
  39. "python.formatting.provider": "autopep8",
  40. "python.formatting.autopep8Args": ["--global-config", "${workspaceRoot}/setup.cfg"],
  41. // https://github.com/DonJayamanne/pythonVSCode/issues/992
  42. "python.pythonPath": "${env.WORKON_HOME}/sentry/bin/python",
  43. // test discovery is sluggish and the UI around running
  44. // tests is often in your way and misclicked
  45. "python.unitTest.pyTestEnabled": false,
  46. "python.unitTest.unittestEnabled": false,
  47. "python.unitTest.nosetestsEnabled": false,
  48. "prettier-eslint.prettierPath":
  49. "${env.WORKON_HOME}/node_modules/prettier/bin/prettier.js",
  50. "editor.tabSize": 4
  51. }