Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.eslintrc 603B

1234567891011121314151617181920212223242526272829303132333435363738
  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. "rules": {
  12. "array-bracket-newline": 0,
  13. "complexity": 0,
  14. "eqeqeq": [2, "allow-null"],
  15. "func-name-matching": 0,
  16. "id-length": 0,
  17. "max-lines": 0,
  18. "max-lines-per-function": [2, 90],
  19. "max-params": [2, 4],
  20. "max-statements": 0,
  21. "max-statements-per-line": [2, { "max": 2 }],
  22. "multiline-comment-style": 0,
  23. "no-magic-numbers": 0,
  24. "sort-keys": 0,
  25. },
  26. "overrides": [
  27. {
  28. "files": "test/**",
  29. "rules": {
  30. "new-cap": 0,
  31. },
  32. },
  33. ],
  34. }