You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
516 B

  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