settings.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. "[html]": {
  38. "editor.formatOnSave": false
  39. },
  40. "python.linting.pylintEnabled": false,
  41. "python.linting.flake8Enabled": true,
  42. "python.formatting.provider": "autopep8",
  43. "python.formatting.autopep8Args": ["--global-config", "${workspaceRoot}/setup.cfg"],
  44. // https://github.com/DonJayamanne/pythonVSCode/issues/992
  45. "python.pythonPath": "${workspaceFolder}/.venv/bin/python",
  46. // test discovery is sluggish and the UI around running
  47. // tests is often in your way and misclicked
  48. "python.unitTest.pyTestEnabled": false,
  49. "python.unitTest.unittestEnabled": false,
  50. "python.unitTest.nosetestsEnabled": false,
  51. "prettier-eslint.prettierPath": "${env.WORKON_HOME}/node_modules/prettier/bin/prettier.js",
  52. "editor.tabSize": 4,
  53. "restructuredtext.confPath": "",
  54. "python.linting.enabled": true,
  55. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  56. "python.linting.pep8Path": "${workspaceFolder}/.venv/bin/pep8",
  57. "python.unitTest.pyTestPath": "${workspaceFolder}/.venv/bin/pytest"
  58. }