.eslintrc 677 B

12345678910111213141516171819202122232425262728
  1. {
  2. "env": {
  3. "node": true,
  4. "browser": true,
  5. "es6": true,
  6. "mocha": true
  7. },
  8. "extends": ["eslint:recommended", "plugin:prettier/recommended", "prettier"],
  9. "globals": {
  10. "Atomics": "readonly",
  11. "SharedArrayBuffer": "readonly"
  12. },
  13. "parser": "babel-eslint",
  14. "parserOptions": {
  15. "ecmaVersion": 2018
  16. },
  17. "rules": {
  18. "indent": ["error", 2],
  19. "linebreak-style": ["error", "unix"],
  20. "quotes": ["error", "single"],
  21. "semi": ["error", "never"],
  22. "object-curly-spacing": ["error", "always"],
  23. "comma-dangle": ["error", "always-multiline"],
  24. "require-await": "error",
  25. "prettier/prettier": ["error", { "printWidth": 110 }]
  26. }
  27. }