.eslintrc 715 B

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