biome.json 588 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
  3. "organizeImports": {
  4. "enabled": true
  5. },
  6. "linter": {
  7. "enabled": true,
  8. "rules": {
  9. "recommended": true,
  10. "correctness": {
  11. "noUnusedVariables": "warn",
  12. "noUnusedImports": "warn"
  13. },
  14. "suspicious": {
  15. "noExplicitAny": "warn"
  16. }
  17. }
  18. },
  19. "formatter": {
  20. "enabled": true,
  21. "indentStyle": "space",
  22. "indentWidth": 2,
  23. "lineWidth": 100
  24. },
  25. "javascript": {
  26. "formatter": {
  27. "semicolons": "asNeeded",
  28. "quoteStyle": "single"
  29. }
  30. }
  31. }