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.
 
 

30 lines
703 B

  1. {
  2. "extends": [
  3. "eslint"
  4. ],
  5. "env": {
  6. "es6": true
  7. },
  8. "globals": {
  9. "Atomics": "readonly",
  10. "SharedArrayBuffer": "readonly"
  11. },
  12. "parserOptions": {
  13. "ecmaVersion": 2019,
  14. "sourceType": "script"
  15. },
  16. "ignorePatterns": [
  17. "node_modules/",
  18. "dist/"
  19. ],
  20. "rules": {
  21. "strict": ["error", "never"],
  22. "no-console": ["error", {"allow": ["info", "warn", "error"]}],
  23. "no-multi-str": "off",
  24. "func-style": ["error", "expression"],
  25. "max-len": ["error", {"code": 79}],
  26. "lines-around-comment": ["error", {"allowBlockStart": true}],
  27. "jsdoc/require-returns": "off"
  28. }
  29. }