biome.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  3. "files": {
  4. "includes": [
  5. "**",
  6. "!**/dist/**",
  7. "!**/node_modules/**",
  8. "!**/coverage/**",
  9. "!**/vite.config.ts.timestamp-*",
  10. "!**/vite.server.config.ts.timestamp-*",
  11. "!**/vite.client.config.ts.timestamp-*",
  12. "!**/.pnpm-store/**",
  13. "!**/.turbo/**",
  14. "!**/.vscode/**",
  15. "!**/turbo.json",
  16. "!**/.next/**",
  17. "!bin/**",
  18. "!tsconfig.base.json",
  19. "!**/.devcontainer/**",
  20. "!**/.eslintrc.js",
  21. "!**/.stylelintrc.json",
  22. "!**/package.json",
  23. "!apps/slackbot-proxy/src/public/bootstrap/**",
  24. "!packages/editor/**",
  25. "!packages/pdf-converter-client/src/index.ts",
  26. "!apps/app/playwright/**",
  27. "!apps/app/public/**",
  28. "!apps/app/src/client/**",
  29. "!apps/app/src/components/**",
  30. "!apps/app/src/features/external-user-group/**",
  31. "!apps/app/src/features/growi-plugin/**",
  32. "!apps/app/src/features/openai/**",
  33. "!apps/app/src/features/opentelemetry/**",
  34. "!apps/app/src/features/page-bulk-export/**",
  35. "!apps/app/src/features/plantuml/**",
  36. "!apps/app/src/features/rate-limiter/**",
  37. "!apps/app/src/interfaces/**",
  38. "!apps/app/src/models/**",
  39. "!apps/app/src/pages/**",
  40. "!apps/app/src/server/**",
  41. "!apps/app/src/services/**",
  42. "!apps/app/src/stores/**",
  43. "!apps/app/src/stores-universal/**",
  44. "!apps/app/src/styles/**",
  45. "!apps/app/src/utils/**",
  46. "!apps/app/test/integration/service/**",
  47. "!apps/app/test-with-vite/**"
  48. ]
  49. },
  50. "formatter": {
  51. "enabled": true,
  52. "indentStyle": "space"
  53. },
  54. "assist": {
  55. "actions": {
  56. "source": {
  57. "organizeImports": "on"
  58. }
  59. }
  60. },
  61. "linter": {
  62. "enabled": true,
  63. "rules": {
  64. "recommended": true
  65. }
  66. },
  67. "javascript": {
  68. "formatter": {
  69. "quoteStyle": "single"
  70. },
  71. "parser": {
  72. "unsafeParameterDecoratorsEnabled": true
  73. }
  74. },
  75. "overrides": [
  76. {
  77. "includes": ["apps/pdf-converter/**", "./apps/slackbot-proxy/**"],
  78. "linter": {
  79. "rules": {
  80. "style": {
  81. "useImportType": "off"
  82. }
  83. }
  84. }
  85. }
  86. ]
  87. }