settings.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. "files.trimTrailingWhitespace": true,
  16. "files.ensureSingleFinalNewline": true,
  17. "prettier.bracketSpacing": false,
  18. "prettier.singleQuote": true,
  19. "prettier.printWidth": 90,
  20. "prettier.jsxBracketSameLine": true,
  21. "eslint.options": {
  22. "configFile": ".eslintrc"
  23. },
  24. "[javascript]": {
  25. "editor.formatOnSave": true
  26. },
  27. "[python]": {
  28. "editor.formatOnSave": true
  29. },
  30. "python.linting.pylintEnabled": false,
  31. "python.linting.flake8Enabled": true,
  32. "python.formatting.provider": "autopep8",
  33. // https://github.com/DonJayamanne/pythonVSCode/issues/992
  34. "python.formatting.yapfArgs": ["--style", "${workspaceRoot}/setup.cfg"],
  35. "python.pythonPath": "${env.WORKON_HOME}/sentry/bin/python",
  36. // test discovery is sluggish and the UI around running
  37. // tests is often in your way and misclicked
  38. "python.unitTest.pyTestEnabled": false,
  39. "python.unitTest.unittestEnabled": false,
  40. "python.unitTest.nosetestsEnabled": false
  41. }