.eslintrc 534 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "consistent-return": 1,
  6. "eqeqeq": [2, "always", { "null": "ignore" }],
  7. "func-name-matching": 0,
  8. "id-length": 0,
  9. "multiline-comment-style": 0,
  10. "new-cap": [2, {
  11. "capIsNewExceptions": [
  12. "GetIntrinsic",
  13. ],
  14. }],
  15. "no-magic-numbers": [1, {
  16. "ignore": [1, 0xDC00, 0xD800, 0xDFFF, 0xDBFF],
  17. }],
  18. },
  19. "overrides": [
  20. {
  21. "files": "test/**",
  22. "rules": {
  23. "max-lines-per-function": 0,
  24. "no-magic-numbers": 0,
  25. "no-new-func": 1,
  26. },
  27. },
  28. ],
  29. }