.eslintrc 617 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "array-bracket-newline": 0,
  6. "array-element-newline": 0,
  7. "func-name-matching": 0,
  8. "max-statements-per-line": [2, { "max": 2 }],
  9. "max-statements": 0,
  10. "new-cap": [2, {
  11. "capIsNewExceptions": [
  12. "ArraySpeciesCreate",
  13. "Call",
  14. "CreateDataPropertyOrThrow",
  15. "FlattenIntoArray",
  16. "Get",
  17. "HasProperty",
  18. "IsArray",
  19. "IsCallable",
  20. "Set",
  21. "ToLength",
  22. "ToObject",
  23. "ToString"
  24. ]
  25. }],
  26. "no-magic-numbers": 0,
  27. },
  28. "overrides": [
  29. {
  30. "files": "test/**",
  31. "rules": {
  32. "no-invalid-this": [1],
  33. },
  34. },
  35. ],
  36. }