.eslintrc 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "env": {
  3. "browser": true,
  4. "jquery": true,
  5. "mocha": true,
  6. "node": true,
  7. "es6": true
  8. },
  9. "globals": {},
  10. "rules": {
  11. "no-multi-str": 2,
  12. "no-debugger": 0,
  13. "strict": 0,
  14. "semi": 0,
  15. "linebreak-style": 0,
  16. "no-bitwise": 2,
  17. "no-cond-assign": 0,
  18. "curly": 2,
  19. "eqeqeq": 0,
  20. "no-eq-null": 0,
  21. "no-eval": 0,
  22. "no-unused-expressions": 0,
  23. "guard-for-in": 0,
  24. "wrap-iife": [
  25. 2,
  26. "any"
  27. ],
  28. "no-use-before-define": [
  29. 2,
  30. {
  31. "functions": false
  32. }
  33. ],
  34. "no-loop-func": 2,
  35. "no-caller": 2,
  36. "no-script-url": 2,
  37. "no-shadow": 2,
  38. "no-new-func": 0,
  39. "no-new-wrappers": 0,
  40. "no-undef": 2,
  41. "new-cap": 0,
  42. "no-empty": 2,
  43. "no-new": 0,
  44. "no-ternary": 2,
  45. "no-plusplus": 0,
  46. "dot-notation": 0,
  47. "indent": [
  48. 2,
  49. 2,
  50. {
  51. "SwitchCase": 1
  52. }
  53. ]
  54. }
  55. }