.eslintrc.json 786 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "env": {
  3. "es6": false,
  4. "jquery": true,
  5. "qunit": true
  6. },
  7. "globals": {
  8. "bootstrap": false,
  9. "sinon": false,
  10. "Util": false,
  11. "Alert": false,
  12. "Button": false,
  13. "Carousel": false,
  14. "Simulator": false,
  15. "Toast": false
  16. },
  17. "parserOptions": {
  18. "ecmaVersion": 5,
  19. "sourceType": "script"
  20. },
  21. "extends": "../../../.eslintrc.json",
  22. "rules": {
  23. "no-console": "error",
  24. // Best Practices
  25. "consistent-return": "off",
  26. "no-magic-numbers": "off",
  27. "vars-on-top": "off",
  28. // Stylistic Issues
  29. "func-style": "off",
  30. "spaced-comment": "off",
  31. // ECMAScript 6
  32. "no-var": "off",
  33. "object-shorthand": "off",
  34. "prefer-arrow-callback": "off",
  35. "prefer-template": "off",
  36. "prefer-rest-params": "off"
  37. }
  38. }