.eslintrc_tests 758 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "qunit": true
  6. },
  7. "globals": {
  8. "fabric": true,
  9. "G_vmlCanvasManager": true
  10. },
  11. "rules": {
  12. "eqeqeq": 0,
  13. "no-eq-null": 2,
  14. "no-eval": 2,
  15. "no-unused-expressions": 2,
  16. "guard-for-in": 0,
  17. "wrap-iife": [
  18. 2,
  19. "any"
  20. ],
  21. "quote-props": 0,
  22. "linebreak-style": 2,
  23. "no-loop-func": 2,
  24. "no-multi-str": 0,
  25. "new-cap": 2,
  26. "no-caller": 2,
  27. "no-empty": 0,
  28. "no-new": 0,
  29. "no-plusplus": 0,
  30. "strict": 0,
  31. "dot-notation": 0,
  32. "no-undef": 2,
  33. "no-unused-vars": 2,
  34. "max-statements": 0,
  35. "camelcase": 0,
  36. "consistent-this": 0,
  37. "max-len": [
  38. 0,
  39. 120,
  40. {
  41. "ignoreComments": true
  42. }
  43. ]
  44. }
  45. }