biome.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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/editor/**",
  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. ["react", "react/**"],
  56. ["next", "next/**"],
  57. [":NODE:", ":PACKAGE:"],
  58. ":BLANK_LINE:",
  59. ["@/**", "^/**"],
  60. ":BLANK_LINE:",
  61. "~/**",
  62. ":BLANK_LINE:",
  63. [":PATH:", "!**/*.css", "!**/*.scss"],
  64. ":BLANK_LINE:",
  65. ["**/*.css", "**/*.scss"]
  66. ]
  67. }
  68. }
  69. }
  70. }
  71. },
  72. "linter": {
  73. "enabled": true,
  74. "rules": {
  75. "recommended": true
  76. }
  77. },
  78. "javascript": {
  79. "formatter": {
  80. "quoteStyle": "single"
  81. },
  82. "parser": {
  83. "unsafeParameterDecoratorsEnabled": true
  84. }
  85. },
  86. "overrides": [
  87. {
  88. "includes": ["apps/pdf-converter/**", "./apps/slackbot-proxy/**"],
  89. "linter": {
  90. "rules": {
  91. "style": {
  92. "useImportType": "off"
  93. }
  94. }
  95. }
  96. }
  97. ]
  98. }