.eslintrc 463 B

123456789101112131415161718192021222324
  1. {
  2. "env": {
  3. "node": true,
  4. "mocha": true
  5. },
  6. "plugins": [
  7. "mocha",
  8. "import"
  9. ],
  10. "rules": {
  11. "comma-dangle": 0,
  12. "indent": 2,
  13. "func-names": 0,
  14. "max-len": [1, 120, 2],
  15. "no-use-before-define": 1,
  16. "no-param-reassign": 0,
  17. "strict": 0,
  18. "import/no-extraneous-dependencies": ["error", {"devDependencies": ["test/*.js"]}],
  19. "mocha/no-exclusive-tests": "error"
  20. },
  21. "parserOptions": {
  22. "ecmaVersion": 5
  23. }
  24. }