.eslintrc 585 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "env": {
  5. "es6": true,
  6. "es2017": true,
  7. "es2020": true,
  8. "es2021": true,
  9. "es2022": true,
  10. },
  11. "rules": {
  12. "array-bracket-newline": 0,
  13. "complexity": 0,
  14. "eqeqeq": [2, "allow-null"],
  15. "func-name-matching": 0,
  16. "id-length": 0,
  17. "max-lines-per-function": [2, 80],
  18. "max-params": [2, 4],
  19. "max-statements": 0,
  20. "max-statements-per-line": [2, { "max": 2 }],
  21. "multiline-comment-style": 0,
  22. "no-magic-numbers": 0,
  23. "sort-keys": 0,
  24. },
  25. "overrides": [
  26. {
  27. "files": "test/**",
  28. "rules": {
  29. "new-cap": 0,
  30. },
  31. },
  32. ],
  33. }