biome.json 897 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
  3. "assist": { "actions": { "source": { "organizeImports": "on" } } },
  4. "vcs": {
  5. "enabled": true,
  6. "clientKind": "git",
  7. "useIgnoreFile": true
  8. },
  9. "linter": {
  10. "enabled": true,
  11. "rules": {
  12. "recommended": true,
  13. "suspicious": {
  14. "noExplicitAny": "warn"
  15. }
  16. }
  17. },
  18. "overrides": [
  19. {
  20. "includes": ["**/*.test.ts", "**/*.test.tsx"],
  21. "linter": {
  22. "rules": {
  23. "suspicious": {
  24. "noExplicitAny": "off"
  25. }
  26. }
  27. }
  28. }
  29. ],
  30. "formatter": {
  31. "enabled": true,
  32. "formatWithErrors": false,
  33. "indentStyle": "space",
  34. "indentWidth": 2,
  35. "lineEnding": "lf",
  36. "lineWidth": 80,
  37. "attributePosition": "auto"
  38. },
  39. "javascript": {
  40. "formatter": {
  41. "quoteStyle": "single",
  42. "trailingCommas": "all"
  43. }
  44. }
  45. }