.eslintrc 811 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "array-bracket-newline": "off",
  6. "id-length": "off",
  7. "max-lines-per-function": "off",
  8. "new-cap": ["error", {
  9. "capIsNewExceptions": [
  10. "AddValueToKeyedGroup",
  11. "Call",
  12. "CreateDataPropertyOrThrow",
  13. "GetIntrinsic",
  14. "GetIterator",
  15. "GetMethod",
  16. "GroupBy",
  17. "IsCallable",
  18. "IteratorClose",
  19. "IteratorComplete",
  20. "IteratorNext",
  21. "IteratorStep",
  22. "IteratorValue",
  23. "OrdinaryObjectCreate",
  24. "RequireObjectCoercible",
  25. "ThrowCompletion",
  26. "ToPropertyKey",
  27. "ToString",
  28. "Type",
  29. ],
  30. }],
  31. },
  32. "overrides": [
  33. {
  34. "files": "aos/*.js",
  35. "rules": {
  36. "max-statements": "off",
  37. },
  38. },
  39. {
  40. "files": "test/tests.js",
  41. "rules": {
  42. "max-lines-per-function": "off",
  43. },
  44. },
  45. ],
  46. }