biome.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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/slackbot-proxy/src/public/bootstrap/**",
  28. "!packages/pdf-converter-client/src/index.ts",
  29. "!packages/pdf-converter-client/specs/**",
  30. "!apps/app/playwright/**",
  31. "!apps/app/src/client/**",
  32. "!apps/app/src/components/**",
  33. "!apps/app/src/features/openai/**",
  34. "!apps/app/src/pages/**",
  35. "!apps/app/src/server/**",
  36. "!apps/app/src/services/**",
  37. "!apps/app/src/stores/**",
  38. "!apps/app/src/styles/**",
  39. "!apps/app/test-with-vite/**",
  40. "!apps/app/tmp/**"
  41. ]
  42. },
  43. "formatter": {
  44. "enabled": true,
  45. "indentStyle": "space"
  46. },
  47. "assist": {
  48. "actions": {
  49. "source": {
  50. "organizeImports": {
  51. "level": "on",
  52. "options": {
  53. "groups": [
  54. ["react", "react/**"],
  55. ["next", "next/**"],
  56. [":NODE:", ":PACKAGE:"],
  57. ":BLANK_LINE:",
  58. ["@/**", "^/**"],
  59. ":BLANK_LINE:",
  60. "~/**",
  61. ":BLANK_LINE:",
  62. [":PATH:", "!**/*.css", "!**/*.scss"],
  63. ":BLANK_LINE:",
  64. ["**/*.css", "**/*.scss"]
  65. ]
  66. }
  67. }
  68. }
  69. }
  70. },
  71. "linter": {
  72. "enabled": true,
  73. "rules": {
  74. "recommended": true
  75. }
  76. },
  77. "javascript": {
  78. "formatter": {
  79. "quoteStyle": "single"
  80. },
  81. "parser": {
  82. "unsafeParameterDecoratorsEnabled": true
  83. }
  84. },
  85. "overrides": [
  86. {
  87. "includes": ["apps/pdf-converter/**", "./apps/slackbot-proxy/**"],
  88. "linter": {
  89. "rules": {
  90. "style": {
  91. "useImportType": "off"
  92. }
  93. }
  94. }
  95. }
  96. ]
  97. }