.eslintrc 600 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "id-length": 0,
  6. "max-statements-per-line": [2, { "max": 2 }],
  7. "max-statements": [2, 22],
  8. "multiline-comment-style": 1,
  9. "new-cap": [2, {
  10. "capIsNewExceptions": [
  11. "AddEntriesFromIterable",
  12. "CreateDataPropertyOrThrow",
  13. "Get",
  14. "GetIterator",
  15. "IsArray",
  16. "IteratorStep",
  17. "IteratorClose",
  18. "IteratorValue",
  19. "ThrowCompletion",
  20. "ToPropertyKey",
  21. "Type",
  22. "RequireObjectCoercible",
  23. ],
  24. }],
  25. },
  26. "overrides": [
  27. {
  28. "files": "test/**",
  29. "rules": {
  30. "no-invalid-this": 1,
  31. },
  32. },
  33. ],
  34. }