.eslintrc 551 B

12345678910111213141516171819202122232425262728
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "env": {
  5. "es6": true,
  6. },
  7. "rules": {
  8. "array-bracket-newline": 0,
  9. "array-element-newline": 0,
  10. "complexity": 0,
  11. "eqeqeq": [2, "allow-null"],
  12. "func-name-matching": 0,
  13. "id-length": [2, { "min": 1, "max": 30 }],
  14. "max-lines": [2, 800],
  15. "max-params": [2, 4],
  16. "max-statements": [2, 24],
  17. "max-statements-per-line": [2, { "max": 2 }],
  18. "multiline-comment-style": 1,
  19. "no-magic-numbers": 0,
  20. "new-cap": 0,
  21. "no-extra-parens": 1,
  22. "operator-linebreak": [2, "before"],
  23. "sort-keys": 0,
  24. }
  25. }