biome.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. "!apps/app/src/styles/**",
  40. "!apps/app/test-with-vite/**",
  41. "!apps/app/tmp/**"
  42. ]
  43. },
  44. "formatter": {
  45. "enabled": true,
  46. "indentStyle": "space"
  47. },
  48. "assist": {
  49. "actions": {
  50. "source": {
  51. "organizeImports": {
  52. "level": "on",
  53. "options": {
  54. "groups": [
  55. [
  56. "react",
  57. "react/**"
  58. ],
  59. [
  60. "next",
  61. "next/**"
  62. ],
  63. [
  64. ":NODE:",
  65. ":PACKAGE:"
  66. ],
  67. ":BLANK_LINE:",
  68. [
  69. "@/**",
  70. "^/**"
  71. ],
  72. ":BLANK_LINE:",
  73. "~/**",
  74. ":BLANK_LINE:",
  75. [
  76. ":PATH:",
  77. "!**/*.css",
  78. "!**/*.scss"
  79. ],
  80. ":BLANK_LINE:",
  81. [
  82. "**/*.css",
  83. "**/*.scss"
  84. ]
  85. ]
  86. }
  87. }
  88. }
  89. }
  90. },
  91. "linter": {
  92. "enabled": true,
  93. "rules": {
  94. "recommended": true
  95. }
  96. },
  97. "javascript": {
  98. "formatter": {
  99. "quoteStyle": "single"
  100. },
  101. "parser": {
  102. "unsafeParameterDecoratorsEnabled": true
  103. }
  104. },
  105. "overrides": [
  106. {
  107. "includes": [
  108. "apps/pdf-converter/**",
  109. "./apps/slackbot-proxy/**"
  110. ],
  111. "linter": {
  112. "rules": {
  113. "style": {
  114. "useImportType": "off"
  115. }
  116. }
  117. }
  118. }
  119. ]
  120. }