.eslintrc 657 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "complexity": 0,
  6. "eqeqeq": [2, "allow-null"],
  7. "func-style": 0,
  8. "id-length": 0,
  9. "indent": [2, 2],
  10. "max-depth": 0,
  11. "max-lines": 0,
  12. "max-lines-per-function": 0,
  13. "max-statements": 0,
  14. "max-statements-per-line": [2, { "max": 3 }],
  15. "no-continue": 1,
  16. "no-empty": 1,
  17. "no-magic-numbers": 0,
  18. "no-mixed-operators": 1,
  19. "max-nested-callbacks": 0,
  20. "no-param-reassign": 1,
  21. "no-plusplus": 0,
  22. "no-redeclare": 1,
  23. "no-restricted-syntax": 1,
  24. "no-script-url": 1,
  25. "sort-keys": 0,
  26. },
  27. "overrides": [
  28. {
  29. "files": "test/**/*",
  30. "rules": {
  31. "no-sequences": 1,
  32. },
  33. },
  34. ],
  35. }