biome.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
  3. "vcs": {
  4. "enabled": true,
  5. "clientKind": "git",
  6. "useIgnoreFile": true
  7. },
  8. "files": {
  9. "ignoreUnknown": false
  10. },
  11. "formatter": {
  12. "enabled": true,
  13. "formatWithErrors": false,
  14. "indentStyle": "space",
  15. "indentWidth": 2,
  16. "lineEnding": "lf",
  17. "lineWidth": 80
  18. },
  19. "linter": {
  20. "enabled": true,
  21. "rules": {
  22. "recommended": true
  23. }
  24. },
  25. "javascript": {
  26. "formatter": {
  27. "quoteStyle": "double",
  28. "semicolons": "asNeeded",
  29. "trailingCommas": "all"
  30. }
  31. },
  32. "css": {
  33. "parser": {
  34. "tailwindDirectives": true
  35. }
  36. },
  37. "assist": {
  38. "enabled": true,
  39. "actions": {
  40. "source": {
  41. "organizeImports": "on"
  42. }
  43. }
  44. },
  45. "overrides": [
  46. {
  47. "includes": ["**/*.vue"],
  48. "linter": {
  49. "rules": {
  50. "style": {
  51. "useConst": "off",
  52. "useImportType": "off",
  53. "noNonNullAssertion": "off"
  54. },
  55. "correctness": {
  56. "noUnusedVariables": "off",
  57. "noUnusedImports": "off"
  58. }
  59. }
  60. }
  61. }
  62. ]
  63. }