settings.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. "python.formatting.provider": "autopep8",
  49. "python.formatting.autopep8Args": ["--global-config", "${workspaceRoot}/setup.cfg"],
  50. // https://github.com/DonJayamanne/pythonVSCode/issues/992
  51. "python.pythonPath": "${workspaceFolder}/.venv/bin/python",
  52. // test discovery is sluggish and the UI around running
  53. // tests is often in your way and misclicked
  54. "python.testing.pyTestEnabled": false,
  55. "python.testing.unittestEnabled": false,
  56. "python.testing.nosetestsEnabled": false,
  57. "editor.tabSize": 4,
  58. "restructuredtext.confPath": "",
  59. "python.linting.enabled": true,
  60. "python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
  61. "python.linting.pep8Path": "${workspaceFolder}/.venv/bin/pep8",
  62. "python.testing.pyTestPath": "${workspaceFolder}/.venv/bin/pytest"
  63. }