biome.json 1.0 KB

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