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.

37 lines
672 B

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