.eslintrc 389 B

12345678910111213141516171819202122
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": [2, 14],
  6. "func-name-matching": 0,
  7. "id-length": [2, { "min": 1, "max": 24, "properties": "never" }],
  8. "max-statements": [2, 20],
  9. "new-cap": [2, { "capIsNewExceptions": ["GetMethod"] }]
  10. },
  11. "overrides": [
  12. {
  13. "files": "test/**",
  14. "rules": {
  15. "max-lines-per-function": [2, { "max": 68 }],
  16. },
  17. }
  18. ],
  19. }