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