.eslintrc.yml 516 B

12345678910111213141516171819202122232425262728293031
  1. extends: 'eslint:recommended'
  2. env:
  3. node: true
  4. mocha: true
  5. rules:
  6. comma-style: error
  7. consistent-this:
  8. - error
  9. - _this
  10. indent:
  11. - error
  12. - 2
  13. - SwitchCase: 1
  14. VariableDeclarator: 2
  15. keyword-spacing: error
  16. no-console: off
  17. no-multi-spaces: error
  18. no-spaced-func: error
  19. no-trailing-spaces: error
  20. quotes:
  21. - error
  22. - single
  23. semi: error
  24. space-before-blocks: error
  25. space-before-function-paren:
  26. - error
  27. - never
  28. space-infix-ops: error
  29. space-unary-ops: error