biome.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  3. "files": {
  4. "includes": [
  5. "**",
  6. "!**/dist/**",
  7. "!**/node_modules/**",
  8. "!**/.pnpm-store/**",
  9. "!**/coverage/**",
  10. "!**/vite.config.ts.timestamp-*",
  11. "!**/vite.server.config.ts.timestamp-*",
  12. "!**/vite.client.config.ts.timestamp-*",
  13. "!**/.turbo/**",
  14. "!**/.vscode/**",
  15. "!**/turbo.json",
  16. "!**/.claude/**",
  17. "!**/.next/**",
  18. "!**/.terraform/**",
  19. "!bin/**",
  20. "!tsconfig.base.json",
  21. "!**/.devcontainer/**",
  22. "!**/.eslintrc.js",
  23. "!**/.stylelintrc.json",
  24. "!**/package.json",
  25. "!apps/app/src/styles/prebuilt/**",
  26. "!apps/app/tmp/**",
  27. "!apps/pdf-converter/specs/**",
  28. "!apps/slackbot-proxy/src/public/bootstrap/**",
  29. "!packages/pdf-converter-client/src/index.ts",
  30. "!packages/pdf-converter-client/specs/**",
  31. "!apps/app/playwright/**",
  32. "!apps/app/src/client/**",
  33. "!apps/app/src/components/**",
  34. "!apps/app/src/features/openai/**",
  35. "!apps/app/src/pages/**",
  36. "!apps/app/src/server/**",
  37. "!apps/app/src/services/**",
  38. "!apps/app/src/stores/**"
  39. ]
  40. },
  41. "formatter": {
  42. "enabled": true,
  43. "indentStyle": "space"
  44. },
  45. "assist": {
  46. "actions": {
  47. "source": {
  48. "organizeImports": {
  49. "level": "on",
  50. "options": {
  51. "groups": [
  52. [
  53. "react",
  54. "react/**"
  55. ],
  56. [
  57. "next",
  58. "next/**"
  59. ],
  60. [
  61. ":NODE:",
  62. ":PACKAGE:"
  63. ],
  64. ":BLANK_LINE:",
  65. [
  66. "@/**",
  67. "^/**"
  68. ],
  69. ":BLANK_LINE:",
  70. "~/**",
  71. ":BLANK_LINE:",
  72. [
  73. ":PATH:",
  74. "!**/*.css",
  75. "!**/*.scss"
  76. ],
  77. ":BLANK_LINE:",
  78. [
  79. "**/*.css",
  80. "**/*.scss"
  81. ]
  82. ]
  83. }
  84. }
  85. }
  86. }
  87. },
  88. "linter": {
  89. "enabled": true,
  90. "rules": {
  91. "recommended": true
  92. }
  93. },
  94. "javascript": {
  95. "formatter": {
  96. "quoteStyle": "single"
  97. },
  98. "parser": {
  99. "unsafeParameterDecoratorsEnabled": true
  100. }
  101. },
  102. "overrides": [
  103. {
  104. "includes": [
  105. "apps/pdf-converter/**",
  106. "./apps/slackbot-proxy/**"
  107. ],
  108. "linter": {
  109. "rules": {
  110. "style": {
  111. "useImportType": "off"
  112. }
  113. }
  114. }
  115. }
  116. ]
  117. }