.eslintrc 632 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "root": true,
  3. "extends": "@ljharb/eslint-config/node/0.4",
  4. "rules": {
  5. "array-bracket-newline": 0,
  6. "array-callback-return": 0,
  7. "array-element-newline": 0,
  8. "complexity": 0,
  9. "func-style": [2, "declaration"],
  10. "global-require": 1,
  11. "max-lines-per-function": 0,
  12. "max-statements-per-line": 1,
  13. "multiline-comment-style": 0,
  14. "no-proto": 0,
  15. "no-sparse-arrays": 1,
  16. "no-underscore-dangle": 0,
  17. "no-invalid-this": 0,
  18. "object-curly-newline": 0,
  19. "sort-keys": 0,
  20. },
  21. "overrides": [
  22. {
  23. "files": "examples/**",
  24. "rules": {
  25. "no-console": 0,
  26. "no-plusplus": 0,
  27. },
  28. },
  29. ],
  30. }