.eslintrc 493 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "root": true,
  3. "extends": "@ljharb",
  4. "rules": {
  5. "array-bracket-newline": 0,
  6. "complexity": 0,
  7. "eqeqeq": 1,
  8. "func-style": [2, "declaration"],
  9. "max-depth": 0,
  10. "max-lines-per-function": 0,
  11. "max-statements": 0,
  12. "multiline-comment-style": 0,
  13. "no-negated-condition": 1,
  14. "no-param-reassign": 1,
  15. "no-lonely-if": 1,
  16. "no-shadow": 1,
  17. "no-template-curly-in-string": 0,
  18. },
  19. "overrides": [
  20. {
  21. "files": "example/**",
  22. "rules": {
  23. "no-console": 0,
  24. },
  25. },
  26. ],
  27. }