biome.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  3. "vcs": {
  4. "enabled": true,
  5. "clientKind": "git",
  6. "useIgnoreFile": true
  7. },
  8. "organizeImports": {
  9. "enabled": false
  10. },
  11. "linter": {
  12. "enabled": false
  13. },
  14. "files": {
  15. "ignoreUnknown": true,
  16. "ignore": [
  17. "**/*/trace.json",
  18. "static/app/data/world.json",
  19. "**/*.sourcemap.js",
  20. "**/*.min.js",
  21. "fixtures"
  22. ]
  23. },
  24. "formatter": {
  25. "enabled": true,
  26. "formatWithErrors": true,
  27. "indentStyle": "space",
  28. "indentWidth": 2,
  29. "lineEnding": "lf",
  30. "ignore": ["tests/**/*.json"]
  31. },
  32. "javascript": {
  33. "formatter": {
  34. "enabled": true,
  35. "lineWidth": 90,
  36. "quoteStyle": "single",
  37. "jsxQuoteStyle": "double",
  38. "quoteProperties": "asNeeded",
  39. "trailingComma": "es5",
  40. "semicolons": "always",
  41. "arrowParentheses": "asNeeded",
  42. "bracketSpacing": false,
  43. "bracketSameLine": false
  44. }
  45. },
  46. "json": {
  47. "formatter": {
  48. "enabled": true
  49. }
  50. }
  51. }