biome.json 912 B

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