biome.json 2.4 KB

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