biome.json 1.9 KB

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