You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
647 B

1 month ago
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "env": {
  5. "es6": true,
  6. "es2017": true,
  7. "es2020": true,
  8. "es2021": true,
  9. "es2022": true,
  10. },
  11. "globals": {
  12. "Float16Array": false,
  13. },
  14. "rules": {
  15. "array-bracket-newline": 0,
  16. "complexity": 0,
  17. "eqeqeq": [2, "allow-null"],
  18. "func-name-matching": 0,
  19. "id-length": 0,
  20. "max-lines": 0,
  21. "max-lines-per-function": [2, 90],
  22. "max-params": [2, 4],
  23. "max-statements": 0,
  24. "max-statements-per-line": [2, { "max": 2 }],
  25. "multiline-comment-style": 0,
  26. "no-magic-numbers": 0,
  27. "sort-keys": 0,
  28. },
  29. "overrides": [
  30. {
  31. "files": "test/**",
  32. "rules": {
  33. "new-cap": 0,
  34. },
  35. },
  36. ],
  37. }