.eslintrc 473 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": 0,
  6. "id-length": [2, { "min": 1, "max": 26 }],
  7. "max-statements": [2, 14],
  8. "new-cap": [2, {
  9. "capIsNewExceptions": [
  10. "GetIntrinsic",
  11. "ToObject",
  12. "ToIntegerOrInfinity",
  13. "ToLength",
  14. "SameValueZero",
  15. "RequireObjectCoercible",
  16. ],
  17. }],
  18. },
  19. "overrides": [
  20. {
  21. "files": "test/**",
  22. "rules": {
  23. "max-lines-per-function": 0,
  24. "no-invalid-this": 1,
  25. },
  26. },
  27. ],
  28. }