biome.json 974 B

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