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.

33 lines
597 B

5 years ago
  1. module.exports = {
  2. "plugins": [
  3. "mocha"
  4. ],
  5. "env": {
  6. "es6": true,
  7. "node": true,
  8. "mocha": true
  9. },
  10. "parserOptions": {
  11. "ecmaVersion": 2017
  12. },
  13. "extends": "eslint:recommended",
  14. "rules": {
  15. "indent": [
  16. "error",
  17. 4
  18. ],
  19. "linebreak-style": [
  20. "error",
  21. "unix"
  22. ],
  23. "quotes": [
  24. "error",
  25. "double"
  26. ],
  27. "semi": [
  28. "error",
  29. "always"
  30. ],
  31. "mocha/no-exclusive-tests": "error"
  32. }
  33. };