.eslintrc 355 B

1234567891011121314151617181920
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "id-length": [2, { "min": 1, "max": 30 }],
  6. "new-cap": [2, { "capIsNewExceptions": ["CreateDataProperty", "IsCallable", "RequireObjectCoercible", "ToObject"] }]
  7. },
  8. "overrides": [
  9. {
  10. "files": "test/**",
  11. "rules": {
  12. "max-lines-per-function": 0,
  13. "no-invalid-this": 1
  14. },
  15. },
  16. ],
  17. }