.eslintrc 567 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "array-bracket-newline": 0,
  6. "id-length": 0,
  7. "new-cap": [2, {
  8. "capIsNewExceptions": [
  9. "ArraySpeciesCreate",
  10. "Call",
  11. "CreateDataPropertyOrThrow",
  12. "Get",
  13. "HasProperty",
  14. "IsCallable",
  15. "LengthOfArrayLike",
  16. "RequireObjectCoercible",
  17. "ToObject",
  18. "ToString",
  19. ],
  20. }],
  21. "no-magic-numbers": 0,
  22. },
  23. "overrides": [
  24. {
  25. "files": "test/**",
  26. "rules": {
  27. "max-lines-per-function": 0,
  28. "max-params": 0,
  29. "no-invalid-this": 1,
  30. "strict": 0,
  31. },
  32. },
  33. ],
  34. }