.eslintrc 534 B

123456789101112131415161718192021222324252627282930313233343536
  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. "GetIntrinsic",
  10. "Call",
  11. "Get",
  12. "IsCallable",
  13. "LengthOfArrayLike",
  14. "RequireObjectCoercible",
  15. "ToBoolean",
  16. "ToObject",
  17. "ToString",
  18. ],
  19. }],
  20. "no-magic-numbers": 0,
  21. },
  22. "overrides": [
  23. {
  24. "files": "test/**",
  25. "rules": {
  26. "func-name-matching": 0,
  27. "max-lines-per-function": 0,
  28. "no-invalid-this": 1,
  29. "strict": 1,
  30. },
  31. },
  32. ],
  33. }