.eslintrc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "extends": "happiness",
  3. "globals": {
  4. "THREE": false,
  5. "TWEEN": false,
  6. "$": false,
  7. "XMLHttpRequest": false,
  8. "requestAnimationFrame": false,
  9. "Blob": false,
  10. "i18n": false,
  11. "URL": false,
  12. "Stats": false,
  13. "ProgressBar": false,
  14. "d3": false,
  15. "btoa": false,
  16. "alert": false,
  17. "ol": false,
  18. "proj4": false,
  19. "shapefile": false,
  20. "Worker": false,
  21. "Image": false,
  22. "LASFile": false,
  23. "LASDecoder": false,
  24. "BinaryHeap": false,
  25. "performance": false,
  26. "Potree": true,
  27. "initSidebar": true,
  28. "HoverMenu": true,
  29. "HoverMenuItem": true,
  30. "LRU": true,
  31. "viewer": true
  32. },
  33. "rules": {
  34. "no-lone-blocks": "off",
  35. "space-before-function-paren": "off",
  36. "space-before-blocks": "off",
  37. "indent": "off",
  38. "no-trailing-spaces": "off",
  39. "keyword-spacing": "off",
  40. "no-multiple-empty-lines" : "off",
  41. "key-spacing": "off",
  42. "spaced-comment": "off",
  43. "quotes": "off",
  44. "space-in-parens": "off",
  45. "padded-blocks": "off",
  46. "comma-dangle": "off",
  47. "object-property-newline": "off",
  48. "eol-last": "off"
  49. },
  50. "parserOptions": {
  51. "ecmaVersion": 6
  52. }
  53. }