biome.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/growi-plugin/**",
  31. "!apps/app/src/features/openai/**",
  32. "!apps/app/src/features/page-bulk-export/**",
  33. "!apps/app/src/features/rate-limiter/**",
  34. "!apps/app/src/interfaces/**",
  35. "!apps/app/src/models/**",
  36. "!apps/app/src/pages/**",
  37. "!apps/app/src/server/**",
  38. "!apps/app/src/services/**",
  39. "!apps/app/src/stores/**",
  40. "!apps/app/src/stores-universal/**",
  41. "!apps/app/src/styles/**",
  42. "!apps/app/src/utils/**",
  43. "!apps/app/test/integration/service/**",
  44. "!apps/app/test-with-vite/**"
  45. ]
  46. },
  47. "formatter": {
  48. "enabled": true,
  49. "indentStyle": "space"
  50. },
  51. "assist": {
  52. "actions": {
  53. "source": {
  54. "organizeImports": "on"
  55. }
  56. }
  57. },
  58. "linter": {
  59. "enabled": true,
  60. "rules": {
  61. "recommended": true
  62. }
  63. },
  64. "javascript": {
  65. "formatter": {
  66. "quoteStyle": "single"
  67. },
  68. "parser": {
  69. "unsafeParameterDecoratorsEnabled": true
  70. }
  71. },
  72. "overrides": [
  73. {
  74. "includes": ["apps/pdf-converter/**", "./apps/slackbot-proxy/**"],
  75. "linter": {
  76. "rules": {
  77. "style": {
  78. "useImportType": "off"
  79. }
  80. }
  81. }
  82. }
  83. ]
  84. }