.eslintrc 295 B

123456789101112131415161718192021222324
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "id-length": "off",
  6. "new-cap": ["error", {
  7. "capIsNewExceptions": [
  8. "RequireObjectCoercible",
  9. ],
  10. }],
  11. },
  12. "overrides": [
  13. {
  14. "files": "test/**",
  15. "rules": {
  16. "id-length": 0,
  17. "no-invalid-this": 1,
  18. },
  19. },
  20. ],
  21. }