biome.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. "!**/.turbo/**",
  13. "!**/.vscode/**",
  14. "!**/turbo.json",
  15. "!**/.claude/**",
  16. "!**/.next/**",
  17. "!**/.terraform/**",
  18. "!bin/**",
  19. "!tsconfig.base.json",
  20. "!**/.devcontainer/**",
  21. "!**/.eslintrc.js",
  22. "!**/.stylelintrc.json",
  23. "!**/package.json",
  24. "!apps/slackbot-proxy/src/public/bootstrap/**",
  25. "!packages/editor/**",
  26. "!packages/pdf-converter-client/src/index.ts",
  27. "!apps/app/playwright/**",
  28. "!apps/app/public/**",
  29. "!apps/app/src/client/**",
  30. "!apps/app/src/components/**",
  31. "!apps/app/src/features/growi-plugin/**",
  32. "!apps/app/src/features/openai/**",
  33. "!apps/app/src/features/rate-limiter/**",
  34. "!apps/app/src/models/**",
  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/integration/service/**",
  41. "!apps/app/test-with-vite/**",
  42. "!apps/app/tmp/**"
  43. ]
  44. },
  45. "formatter": {
  46. "enabled": true,
  47. "indentStyle": "space"
  48. },
  49. "assist": {
  50. "actions": {
  51. "source": {
  52. "organizeImports": "on"
  53. }
  54. }
  55. },
  56. "linter": {
  57. "enabled": true,
  58. "rules": {
  59. "recommended": true
  60. }
  61. },
  62. "javascript": {
  63. "formatter": {
  64. "quoteStyle": "single"
  65. },
  66. "parser": {
  67. "unsafeParameterDecoratorsEnabled": true
  68. }
  69. },
  70. "overrides": [
  71. {
  72. "includes": [
  73. "apps/pdf-converter/**",
  74. "./apps/slackbot-proxy/**"
  75. ],
  76. "linter": {
  77. "rules": {
  78. "style": {
  79. "useImportType": "off"
  80. }
  81. }
  82. }
  83. }
  84. ]
  85. }