Просмотр исходного кода

update organizeImports setting

Yuki Takei 5 месяцев назад
Родитель
Сommit
a8ec763d5d
100 измененных файлов с 78 добавлено и 102 удалено
  1. 4 0
      .vscode/settings.json
  2. 0 1
      apps/app/bin/openapi/generate-operation-ids/cli.spec.ts
  3. 0 1
      apps/app/bin/print-memory-consumption.ts
  4. 0 1
      apps/app/playwright.config.ts
  5. 2 3
      apps/app/src/features/external-user-group/client/components/ExternalUserGroup/ExternalUserGroupManagement.tsx
  6. 0 1
      apps/app/src/features/external-user-group/client/components/ExternalUserGroup/KeycloakGroupSyncSettingsForm.tsx
  7. 0 1
      apps/app/src/features/external-user-group/client/components/ExternalUserGroup/LdapGroupManagement.tsx
  8. 0 1
      apps/app/src/features/external-user-group/client/components/ExternalUserGroup/LdapGroupSyncSettingsForm.tsx
  9. 0 1
      apps/app/src/features/external-user-group/client/components/ExternalUserGroup/SyncExecution.tsx
  10. 0 1
      apps/app/src/features/external-user-group/server/models/external-user-group-relation.ts
  11. 1 0
      apps/app/src/features/external-user-group/server/routes/apiv3/external-user-group-relation.ts
  12. 0 1
      apps/app/src/features/external-user-group/server/service/keycloak-user-group-sync.ts
  13. 0 1
      apps/app/src/features/external-user-group/server/service/ldap-user-group-sync.ts
  14. 1 2
      apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginCard.tsx
  15. 2 3
      apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginDeleteModal.tsx
  16. 1 1
      apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginInstallerForm.tsx
  17. 1 3
      apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginsExtensionPageContents.tsx
  18. 1 0
      apps/app/src/features/growi-plugin/server/routes/apiv3/admin/index.ts
  19. 0 1
      apps/app/src/features/growi-plugin/server/services/growi-plugin/growi-plugin.integ.ts
  20. 0 1
      apps/app/src/features/growi-plugin/server/services/growi-plugin/growi-plugin.ts
  21. 1 1
      apps/app/src/features/mermaid/components/MermaidViewer.tsx
  22. 0 1
      apps/app/src/features/opentelemetry/server/anonymization/handlers/index.ts
  23. 0 1
      apps/app/src/features/opentelemetry/server/anonymization/handlers/page-access-handler.spec.ts
  24. 0 1
      apps/app/src/features/opentelemetry/server/anonymization/handlers/page-api-handler.spec.ts
  25. 0 1
      apps/app/src/features/opentelemetry/server/anonymization/handlers/page-listing-api-handler.spec.ts
  26. 0 1
      apps/app/src/features/opentelemetry/server/anonymization/handlers/search-api-handler.spec.ts
  27. 0 1
      apps/app/src/features/opentelemetry/server/custom-resource-attributes/os-resource-attributes.ts
  28. 1 1
      apps/app/src/features/page-bulk-export/client/components/PageBulkExportSelectModal.tsx
  29. 0 1
      apps/app/src/features/page-bulk-export/server/service/check-page-bulk-export-job-in-progress-cron.ts
  30. 0 1
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-clean-up-cron.integ.ts
  31. 1 1
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-clean-up-cron.ts
  32. 0 1
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/index.ts
  33. 0 1
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/request-pdf-converter.ts
  34. 1 0
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/compress-and-upload.ts
  35. 1 0
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/create-page-snapshots-async.ts
  36. 1 0
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/export-pages-to-fs-async.ts
  37. 0 1
      apps/app/src/features/rate-limiter/middleware/consume-points.ts
  38. 0 1
      apps/app/src/features/rate-limiter/middleware/factory.ts
  39. 1 1
      apps/app/src/features/search/client/components/SearchHelp.tsx
  40. 1 2
      apps/app/src/features/search/client/components/SearchMethodMenuItem.tsx
  41. 2 3
      apps/app/src/features/search/client/components/SearchModal.tsx
  42. 1 2
      apps/app/src/features/search/client/components/SearchResultMenuItem.tsx
  43. 0 1
      apps/app/src/features/search/client/stores/search.ts
  44. 1 0
      apps/app/src/features/templates/server/routes/apiv3/index.ts
  45. 0 1
      apps/app/src/interfaces/renderer-options.ts
  46. 1 1
      apps/app/src/interfaces/ui.ts
  47. 1 1
      apps/app/src/stores-universal/ui.tsx
  48. 3 2
      apps/app/src/utils/logger/index.ts
  49. 0 1
      apps/app/src/utils/page-delete-config.test.ts
  50. 1 0
      apps/app/test/integration/service/search/search-service.test.js
  51. 1 0
      apps/app/test/integration/service/user-groups.test.ts
  52. 1 0
      apps/app/test/integration/service/v5.page.test.ts
  53. 1 0
      apps/app/test/integration/service/v5.public-page.test.ts
  54. 1 0
      apps/pdf-converter/src/controllers/pdf.spec.ts
  55. 1 0
      apps/pdf-converter/src/controllers/pdf.ts
  56. 0 1
      apps/pdf-converter/src/service/pdf-convert.ts
  57. 0 1
      apps/slackbot-proxy/src/controllers/slack.ts
  58. 18 1
      biome.json
  59. 1 0
      package.json
  60. 0 1
      packages/core/src/models/serializers/attachment-serializer.ts
  61. 1 1
      packages/core/src/utils/page-path-utils/index.ts
  62. 0 1
      packages/core/src/utils/page-utils.ts
  63. 0 1
      packages/core/vite.config.ts
  64. 1 1
      packages/pluginkit/src/v4/client/utils/growi-facade/growi-react.ts
  65. 0 1
      packages/pluginkit/src/v4/server/utils/common/validate-growi-plugin-directive.spec.ts
  66. 0 1
      packages/pluginkit/src/v4/server/utils/common/validate-growi-plugin-directive.ts
  67. 0 1
      packages/pluginkit/src/v4/server/utils/template/scan.ts
  68. 0 1
      packages/pluginkit/src/v4/server/utils/template/validate-growi-plugin-directive.spec.ts
  69. 0 1
      packages/pluginkit/src/v4/server/utils/theme/validate-growi-plugin-directive.spec.ts
  70. 0 1
      packages/pluginkit/src/v4/utils/template.spec.ts
  71. 0 1
      packages/pluginkit/vite.config.ts
  72. 1 2
      packages/presentation/src/client/components/GrowiSlides.tsx
  73. 1 1
      packages/presentation/src/client/components/MarpSlides.tsx
  74. 2 2
      packages/presentation/src/client/components/Presentation.tsx
  75. 0 1
      packages/presentation/src/client/components/Slides.tsx
  76. 1 1
      packages/presentation/src/services/use-slides-by-frontmatter.ts
  77. 0 1
      packages/presentation/vite.config.ts
  78. 0 1
      packages/preset-templates/test/index.test.ts
  79. 4 2
      packages/remark-attachment-refs/src/client/components/AttachmentList.tsx
  80. 2 1
      packages/remark-attachment-refs/src/client/components/ExtractedAttachments.tsx
  81. 0 1
      packages/remark-attachment-refs/src/client/components/Ref.tsx
  82. 0 1
      packages/remark-attachment-refs/src/client/components/RefImg.tsx
  83. 0 1
      packages/remark-attachment-refs/src/client/components/Refs.tsx
  84. 0 1
      packages/remark-attachment-refs/src/client/components/RefsImg.tsx
  85. 1 1
      packages/remark-attachment-refs/src/client/stores/refs.spec.ts
  86. 0 1
      packages/remark-drawio/src/components/DrawioViewer.tsx
  87. 0 1
      packages/remark-growi-directive/test/remark-growi-directive.test.js
  88. 3 2
      packages/remark-lsx/src/client/components/Lsx.tsx
  89. 2 1
      packages/remark-lsx/src/client/components/LsxPageList/LsxListView.tsx
  90. 2 2
      packages/remark-lsx/src/client/components/LsxPageList/LsxPage.tsx
  91. 1 1
      packages/remark-lsx/src/client/stores/lsx/lsx.spec.ts
  92. 0 1
      packages/remark-lsx/src/client/stores/lsx/lsx.ts
  93. 0 1
      packages/remark-lsx/src/client/utils/page-node.spec.ts
  94. 1 0
      packages/remark-lsx/src/server/index.ts
  95. 0 1
      packages/remark-lsx/src/server/routes/list-pages/add-depth-condition.ts
  96. 0 1
      packages/remark-lsx/src/server/routes/list-pages/index.ts
  97. 0 1
      packages/slack/src/middlewares/verify-slack-request.ts
  98. 0 1
      packages/slack/src/utils/check-communicable.ts
  99. 0 1
      packages/slack/src/utils/interaction-payload-accessor.ts
  100. 0 1
      packages/slack/src/utils/slash-command-parser.test.ts

+ 4 - 0
.vscode/settings.json

@@ -11,6 +11,10 @@
     "editor.defaultFormatter": "biomejs.biome"
   },
 
+  "[json]": {
+    "editor.defaultFormatter": "biomejs.biome"
+  },
+
   // use vscode-stylelint
   // see https://github.com/stylelint/vscode-stylelint
   "stylelint.validate": ["css", "less", "scss"],

+ 0 - 1
apps/app/bin/openapi/generate-operation-ids/cli.spec.ts

@@ -1,5 +1,4 @@
 import { writeFileSync } from 'node:fs';
-
 import { beforeEach, describe, expect, it, vi } from 'vitest';
 
 import { generateOperationIds } from './generate-operation-ids';

+ 0 - 1
apps/app/bin/print-memory-consumption.ts

@@ -12,7 +12,6 @@
  */
 
 import { get } from 'node:http';
-
 import WebSocket from 'ws';
 
 interface MemoryInfo {

+ 0 - 1
apps/app/playwright.config.ts

@@ -1,6 +1,5 @@
 import fs from 'node:fs';
 import path from 'node:path';
-
 import { defineConfig, devices, type Project } from '@playwright/test';
 
 const authFile = path.resolve(__dirname, './playwright/.auth/admin.json');

+ 2 - 3
apps/app/src/features/external-user-group/client/components/ExternalUserGroup/ExternalUserGroupManagement.tsx

@@ -1,7 +1,7 @@
-import type { IGrantedGroup } from '@growi/core';
-import { GroupType, getIdForRef } from '@growi/core';
 import type { FC } from 'react';
 import { useCallback, useMemo, useState } from 'react';
+import type { IGrantedGroup } from '@growi/core';
+import { GroupType, getIdForRef } from '@growi/core';
 import { useTranslation } from 'react-i18next';
 import { TabContent, TabPane } from 'reactstrap';
 
@@ -21,7 +21,6 @@ import {
   useSWRxExternalUserGroupList,
   useSWRxExternalUserGroupRelationList,
 } from '../../stores/external-user-group';
-
 import { KeycloakGroupManagement } from './KeycloakGroupManagement';
 import { LdapGroupManagement } from './LdapGroupManagement';
 

+ 0 - 1
apps/app/src/features/external-user-group/client/components/ExternalUserGroup/KeycloakGroupSyncSettingsForm.tsx

@@ -1,6 +1,5 @@
 import type { FC } from 'react';
 import { useCallback, useEffect, useState } from 'react';
-
 import { useTranslation } from 'react-i18next';
 
 import { apiv3Put } from '~/client/util/apiv3-client';

+ 0 - 1
apps/app/src/features/external-user-group/client/components/ExternalUserGroup/LdapGroupManagement.tsx

@@ -1,6 +1,5 @@
 import type { FC } from 'react';
 import { type JSX, useCallback, useEffect, useState } from 'react';
-
 import { useTranslation } from 'react-i18next';
 
 import { apiv3Get, apiv3Put } from '~/client/util/apiv3-client';

+ 0 - 1
apps/app/src/features/external-user-group/client/components/ExternalUserGroup/LdapGroupSyncSettingsForm.tsx

@@ -1,6 +1,5 @@
 import type { FC } from 'react';
 import { useCallback, useEffect, useState } from 'react';
-
 import { useTranslation } from 'react-i18next';
 
 import { apiv3Put } from '~/client/util/apiv3-client';

+ 0 - 1
apps/app/src/features/external-user-group/client/components/ExternalUserGroup/SyncExecution.tsx

@@ -1,6 +1,5 @@
 import type { FC, JSX } from 'react';
 import { useCallback, useEffect, useState } from 'react';
-
 import { useTranslation } from 'react-i18next';
 import { Modal, ModalBody, ModalHeader } from 'reactstrap';
 

+ 0 - 1
apps/app/src/features/external-user-group/server/models/external-user-group-relation.ts

@@ -6,7 +6,6 @@ import UserGroupRelation from '~/server/models/user-group-relation';
 
 import { getOrCreateModel } from '../../../../server/util/mongoose-utils';
 import type { IExternalUserGroupRelation } from '../../interfaces/external-user-group';
-
 import type { ExternalUserGroupDocument } from './external-user-group';
 
 export interface ExternalUserGroupRelationDocument

+ 1 - 0
apps/app/src/features/external-user-group/server/routes/apiv3/external-user-group-relation.ts

@@ -1,6 +1,7 @@
 import { SCOPE } from '@growi/core/dist/interfaces';
 import { ErrorV3 } from '@growi/core/dist/models';
 import type { Request, Router } from 'express';
+
 import type { IExternalUserGroupRelationHasId } from '~/features/external-user-group/interfaces/external-user-group';
 import ExternalUserGroupRelation from '~/features/external-user-group/server/models/external-user-group-relation';
 import type Crowi from '~/server/crowi';

+ 0 - 1
apps/app/src/features/external-user-group/server/service/keycloak-user-group-sync.ts

@@ -12,7 +12,6 @@ import type {
   ExternalUserInfo,
 } from '../../interfaces/external-user-group';
 import { ExternalGroupProviderType } from '../../interfaces/external-user-group';
-
 import ExternalUserGroupSyncService from './external-user-group-sync';
 
 const logger = loggerFactory('growi:service:keycloak-user-group-sync-service');

+ 0 - 1
apps/app/src/features/external-user-group/server/service/ldap-user-group-sync.ts

@@ -14,7 +14,6 @@ import {
   ExternalGroupProviderType,
   LdapGroupMembershipAttributeType,
 } from '../../interfaces/external-user-group';
-
 import ExternalUserGroupSyncService from './external-user-group-sync';
 
 const logger = loggerFactory('growi:service:ldap-user-group-sync-service');

+ 1 - 2
apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginCard.tsx

@@ -1,7 +1,6 @@
+import React, { type JSX, useState } from 'react';
 import Link from 'next/link';
-
 import { useTranslation } from 'next-i18next';
-import React, { type JSX, useState } from 'react';
 
 import { apiv3Put } from '~/client/util/apiv3-client';
 import { toastError, toastSuccess } from '~/client/util/toastr';

+ 2 - 3
apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginDeleteModal.tsx

@@ -1,8 +1,7 @@
-import Link from 'next/link';
-
-import { useTranslation } from 'next-i18next';
 import type React from 'react';
 import { useCallback } from 'react';
+import Link from 'next/link';
+import { useTranslation } from 'next-i18next';
 import { Button, Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';
 
 import { apiv3Delete } from '~/client/util/apiv3-client';

+ 1 - 1
apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginInstallerForm.tsx

@@ -1,5 +1,5 @@
-import { useTranslation } from 'next-i18next';
 import React, { type JSX, useCallback } from 'react';
+import { useTranslation } from 'next-i18next';
 
 import { apiv3Post } from '~/client/util/apiv3-client';
 import { toastError, toastSuccess } from '~/client/util/toastr';

+ 1 - 3
apps/app/src/features/growi-plugin/client/components/Admin/PluginsExtensionPageContents/PluginsExtensionPageContents.tsx

@@ -1,14 +1,12 @@
+import React, { type JSX } from 'react';
 import dynamic from 'next/dynamic';
-
 import { useTranslation } from 'next-i18next';
-import React, { type JSX } from 'react';
 import { Spinner } from 'reactstrap';
 
 import {
   usePluginDeleteModal,
   useSWRxAdminPlugins,
 } from '../../../stores/admin-plugins';
-
 import { PluginCard } from './PluginCard';
 import { PluginInstallerForm } from './PluginInstallerForm';
 

+ 1 - 0
apps/app/src/features/growi-plugin/server/routes/apiv3/admin/index.ts

@@ -3,6 +3,7 @@ import type { Request, Router } from 'express';
 import express from 'express';
 import { body, query } from 'express-validator';
 import mongoose from 'mongoose';
+
 import type Crowi from '~/server/crowi';
 import { accessTokenParser } from '~/server/middlewares/access-token-parser';
 import type { ApiV3Response } from '~/server/routes/apiv3/interfaces/apiv3-response';

+ 0 - 1
apps/app/src/features/growi-plugin/server/services/growi-plugin/growi-plugin.integ.ts

@@ -3,7 +3,6 @@ import path from 'path';
 
 import { PLUGIN_STORING_PATH } from '../../consts';
 import { GrowiPlugin } from '../../models';
-
 import { growiPluginService } from './growi-plugin';
 
 describe('Installing a GROWI template plugin', () => {

+ 0 - 1
apps/app/src/features/growi-plugin/server/services/growi-plugin/growi-plugin.ts

@@ -23,7 +23,6 @@ import type {
 import { PLUGIN_EXPRESS_STATIC_DIR, PLUGIN_STORING_PATH } from '../../consts';
 import { GrowiPlugin } from '../../models';
 import { GitHubUrl } from '../../models/vo/github-url';
-
 import { generateTemplatePluginMeta } from './generate-template-plugin-meta';
 import { generateThemePluginMeta } from './generate-theme-plugin-meta';
 

+ 1 - 1
apps/app/src/features/mermaid/components/MermaidViewer.tsx

@@ -1,5 +1,5 @@
-import mermaid from 'mermaid';
 import React, { type JSX, useEffect, useRef } from 'react';
+import mermaid from 'mermaid';
 import { v7 as uuidV7 } from 'uuid';
 
 import { useNextThemes } from '~/stores-universal/use-next-themes';

+ 0 - 1
apps/app/src/features/opentelemetry/server/anonymization/handlers/index.ts

@@ -1,5 +1,4 @@
 import type { AnonymizationModule } from '../interfaces/anonymization-module';
-
 import { pageAccessModule } from './page-access-handler';
 import { pageApiModule } from './page-api-handler';
 import { pageListingApiModule } from './page-listing-api-handler';

+ 0 - 1
apps/app/src/features/opentelemetry/server/anonymization/handlers/page-access-handler.spec.ts

@@ -1,5 +1,4 @@
 import type { IncomingMessage } from 'node:http';
-
 import { describe, expect, it } from 'vitest';
 
 import { pageAccessModule } from './page-access-handler';

+ 0 - 1
apps/app/src/features/opentelemetry/server/anonymization/handlers/page-api-handler.spec.ts

@@ -1,5 +1,4 @@
 import type { IncomingMessage } from 'node:http';
-
 import { beforeEach, describe, expect, it } from 'vitest';
 
 import { pageApiModule } from './page-api-handler';

+ 0 - 1
apps/app/src/features/opentelemetry/server/anonymization/handlers/page-listing-api-handler.spec.ts

@@ -1,5 +1,4 @@
 import type { IncomingMessage } from 'node:http';
-
 import { beforeEach, describe, expect, it } from 'vitest';
 
 import { pageListingApiModule } from './page-listing-api-handler';

+ 0 - 1
apps/app/src/features/opentelemetry/server/anonymization/handlers/search-api-handler.spec.ts

@@ -1,5 +1,4 @@
 import type { IncomingMessage } from 'node:http';
-
 import { beforeEach, describe, expect, it } from 'vitest';
 
 import { searchApiModule } from './search-api-handler';

+ 0 - 1
apps/app/src/features/opentelemetry/server/custom-resource-attributes/os-resource-attributes.ts

@@ -1,5 +1,4 @@
 import * as os from 'node:os';
-
 import type { Attributes } from '@opentelemetry/api';
 
 import loggerFactory from '~/utils/logger';

+ 1 - 1
apps/app/src/features/page-bulk-export/client/components/PageBulkExportSelectModal.tsx

@@ -1,6 +1,6 @@
+import { type JSX, useState } from 'react';
 import { format } from 'date-fns/format';
 import { useTranslation } from 'next-i18next';
-import { type JSX, useState } from 'react';
 import { Modal, ModalBody, ModalHeader } from 'reactstrap';
 
 import { apiv3Post } from '~/client/util/apiv3-client';

+ 0 - 1
apps/app/src/features/page-bulk-export/server/service/check-page-bulk-export-job-in-progress-cron.ts

@@ -4,7 +4,6 @@ import loggerFactory from '~/utils/logger';
 
 import { PageBulkExportJobInProgressStatus } from '../../interfaces/page-bulk-export';
 import PageBulkExportJob from '../models/page-bulk-export-job';
-
 import { pageBulkExportJobCronService } from './page-bulk-export-job-cron';
 
 const logger = loggerFactory(

+ 0 - 1
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-clean-up-cron.integ.ts

@@ -8,7 +8,6 @@ import {
   PageBulkExportJobStatus,
 } from '../../interfaces/page-bulk-export';
 import PageBulkExportJob from '../models/page-bulk-export-job';
-
 import instanciatePageBulkExportJobCleanUpCronService, {
   pageBulkExportJobCleanUpCronService,
 } from './page-bulk-export-job-clean-up-cron';

+ 1 - 1
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-clean-up-cron.ts

@@ -1,4 +1,5 @@
 import type { HydratedDocument } from 'mongoose';
+
 import { SupportedAction } from '~/interfaces/activity';
 import type Crowi from '~/server/crowi';
 import { configManager } from '~/server/service/config-manager';
@@ -11,7 +12,6 @@ import {
 } from '../../interfaces/page-bulk-export';
 import type { PageBulkExportJobDocument } from '../models/page-bulk-export-job';
 import PageBulkExportJob from '../models/page-bulk-export-job';
-
 import { pageBulkExportJobCronService } from './page-bulk-export-job-cron';
 
 const logger = loggerFactory(

+ 0 - 1
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/index.ts

@@ -23,7 +23,6 @@ import {
 import type { PageBulkExportJobDocument } from '../../models/page-bulk-export-job';
 import PageBulkExportJob from '../../models/page-bulk-export-job';
 import PageBulkExportPageSnapshot from '../../models/page-bulk-export-page-snapshot';
-
 import {
   BulkExportJobExpiredError,
   BulkExportJobStreamDestroyedByCleanupError,

+ 0 - 1
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/request-pdf-converter.ts

@@ -9,7 +9,6 @@ import { configManager } from '~/server/service/config-manager';
 import { PageBulkExportJobStatus } from '../../../interfaces/page-bulk-export';
 import type { PageBulkExportJobDocument } from '../../models/page-bulk-export-job';
 import PageBulkExportPageSnapshot from '../../models/page-bulk-export-page-snapshot';
-
 import { BulkExportJobExpiredError } from './errors';
 
 /**

+ 1 - 0
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/compress-and-upload.ts

@@ -8,6 +8,7 @@ import type { IAttachmentDocument } from '~/server/models/attachment';
 import { Attachment } from '~/server/models/attachment';
 import type { FileUploader } from '~/server/service/file-uploader';
 import loggerFactory from '~/utils/logger';
+
 import type { PageBulkExportJobDocument } from '../../../models/page-bulk-export-job';
 import type { IPageBulkExportJobCronService } from '..';
 

+ 1 - 0
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/create-page-snapshots-async.ts

@@ -7,6 +7,7 @@ import mongoose from 'mongoose';
 import { PageBulkExportJobStatus } from '~/features/page-bulk-export/interfaces/page-bulk-export';
 import { SupportedAction } from '~/interfaces/activity';
 import type { PageDocument, PageModel } from '~/server/models/page';
+
 import type { PageBulkExportJobDocument } from '../../../models/page-bulk-export-job';
 import PageBulkExportJob from '../../../models/page-bulk-export-job';
 import PageBulkExportPageSnapshot from '../../../models/page-bulk-export-page-snapshot';

+ 1 - 0
apps/app/src/features/page-bulk-export/server/service/page-bulk-export-job-cron/steps/export-pages-to-fs-async.ts

@@ -16,6 +16,7 @@ import {
   PageBulkExportFormat,
   PageBulkExportJobStatus,
 } from '~/features/page-bulk-export/interfaces/page-bulk-export';
+
 import type { PageBulkExportJobDocument } from '../../../models/page-bulk-export-job';
 import type { PageBulkExportPageSnapshotDocument } from '../../../models/page-bulk-export-page-snapshot';
 import PageBulkExportPageSnapshot from '../../../models/page-bulk-export-page-snapshot';

+ 0 - 1
apps/app/src/features/rate-limiter/middleware/consume-points.ts

@@ -1,7 +1,6 @@
 import type { RateLimiterRes } from 'rate-limiter-flexible';
 
 import { DEFAULT_MAX_REQUESTS, type IApiRateLimitConfig } from '../config';
-
 import { rateLimiterFactory } from './rate-limiter-factory';
 
 export const consumePoints = async (

+ 0 - 1
apps/app/src/features/rate-limiter/middleware/factory.ts

@@ -10,7 +10,6 @@ import {
   type IApiRateLimitConfig,
 } from '../config';
 import { generateApiRateLimitConfig } from '../utils/config-generator';
-
 import { consumePoints } from './consume-points';
 
 const logger = loggerFactory('growi:middleware:api-rate-limit');

+ 1 - 1
apps/app/src/features/search/client/components/SearchHelp.tsx

@@ -1,5 +1,5 @@
-import { useTranslation } from 'next-i18next';
 import React, { type JSX, useState } from 'react';
+import { useTranslation } from 'next-i18next';
 import { Collapse } from 'reactstrap';
 
 export const SearchHelp = (): JSX.Element => {

+ 1 - 2
apps/app/src/features/search/client/components/SearchMethodMenuItem.tsx

@@ -1,11 +1,10 @@
+import React, { type JSX } from 'react';
 import { DevidedPagePath } from '@growi/core/dist/models';
 import { useTranslation } from 'next-i18next';
-import React, { type JSX } from 'react';
 
 import { useCurrentPagePath } from '~/stores/page';
 
 import type { GetItemProps } from '../interfaces/downshift';
-
 import { SearchMenuItem } from './SearchMenuItem';
 
 type Props = {

+ 2 - 3
apps/app/src/features/search/client/components/SearchModal.tsx

@@ -1,15 +1,14 @@
+import React, { type JSX, useCallback, useEffect, useState } from 'react';
+import { useRouter } from 'next/router';
 import Downshift, {
   type DownshiftState,
   type StateChangeOptions,
 } from 'downshift';
-import { useRouter } from 'next/router';
-import React, { type JSX, useCallback, useEffect, useState } from 'react';
 import { Modal, ModalBody } from 'reactstrap';
 
 import { isIncludeAiMenthion, removeAiMenthion } from '../../utils/ai';
 import type { DownshiftItem } from '../interfaces/downshift';
 import { useSearchModal } from '../stores/search';
-
 import { SearchForm } from './SearchForm';
 import { SearchHelp } from './SearchHelp';
 import { SearchMethodMenuItem } from './SearchMethodMenuItem';

+ 1 - 2
apps/app/src/features/search/client/components/SearchResultMenuItem.tsx

@@ -1,11 +1,10 @@
-import { PagePathLabel, UserPicture } from '@growi/ui/dist/components';
 import React, { type JSX, useCallback } from 'react';
+import { PagePathLabel, UserPicture } from '@growi/ui/dist/components';
 import { useDebounce } from 'usehooks-ts';
 
 import { useSWRxSearch } from '~/stores/search';
 
 import type { GetItemProps } from '../interfaces/downshift';
-
 import { SearchMenuItem } from './SearchMenuItem';
 
 type Props = {

+ 0 - 1
apps/app/src/features/search/client/stores/search.ts

@@ -1,5 +1,4 @@
 import { useCallback } from 'react';
-
 import type { SWRResponse } from 'swr';
 
 import { useStaticSWR } from '~/stores/use-static-swr';

+ 1 - 0
apps/app/src/features/templates/server/routes/apiv3/index.ts

@@ -8,6 +8,7 @@ import {
 } from '@growi/pluginkit/dist/v4/server/index.cjs';
 import express from 'express';
 import { param, query } from 'express-validator';
+
 import { PLUGIN_STORING_PATH } from '~/features/growi-plugin/server/consts';
 import { GrowiPlugin } from '~/features/growi-plugin/server/models';
 import type Crowi from '~/server/crowi';

+ 0 - 1
apps/app/src/interfaces/renderer-options.ts

@@ -1,5 +1,4 @@
 import type { ComponentType } from 'react';
-
 import type {
   Components,
   Options as ReactMarkdownOptions,

+ 1 - 1
apps/app/src/interfaces/ui.ts

@@ -1,5 +1,5 @@
-import type { Nullable } from '@growi/core';
 import type { JSX } from 'react';
+import type { Nullable } from '@growi/core';
 
 import type { IPageForItem } from '~/interfaces/page';
 

+ 1 - 1
apps/app/src/stores-universal/ui.tsx

@@ -2,9 +2,9 @@
  *                          Unions
  *********************************************************** */
 
+import { useCallback } from 'react';
 import type { SWRResponseWithUtils } from '@growi/core/dist/swr';
 import { isServer } from '@growi/core/dist/utils';
-import { useCallback } from 'react';
 import useSWRImmutable from 'swr/immutable';
 
 import { useIsNotFound } from '~/stores/page';

+ 3 - 2
apps/app/src/utils/logger/index.ts

@@ -1,8 +1,9 @@
-import configForDev from '^/config/logger/config.dev';
-import configForProd from '^/config/logger/config.prod';
 import type Logger from 'bunyan';
 import { createLogger, type UniversalBunyanConfig } from 'universal-bunyan';
 
+import configForDev from '^/config/logger/config.dev';
+import configForProd from '^/config/logger/config.prod';
+
 const isProduction = process.env.NODE_ENV === 'production';
 const config = (
   isProduction ? configForProd : configForDev

+ 0 - 1
apps/app/src/utils/page-delete-config.test.ts

@@ -1,5 +1,4 @@
 import { PageDeleteConfigValue } from '../interfaces/page-delete-config';
-
 import { validateDeleteConfigs } from './page-delete-config';
 
 describe('validateDeleteConfigs utility function', () => {

+ 1 - 0
apps/app/test/integration/service/search/search-service.test.js

@@ -3,6 +3,7 @@
  */
 
 import mongoose from 'mongoose';
+
 import NamedQuery from '~/server/models/named-query';
 import SearchService from '~/server/service/search';
 

+ 1 - 0
apps/app/test/integration/service/user-groups.test.ts

@@ -1,6 +1,7 @@
 import type { IGrantedGroup } from '@growi/core';
 import { GroupType, getIdForRef, type IPage, PageGrant } from '@growi/core';
 import mongoose from 'mongoose';
+
 import { PageActionOnGroupDelete } from '../../../src/interfaces/user-group';
 import type Crowi from '../../../src/server/crowi';
 import type { PageDocument, PageModel } from '../../../src/server/models/page';

+ 1 - 0
apps/app/test/integration/service/v5.page.test.ts

@@ -1,6 +1,7 @@
 import type { IPage } from '@growi/core';
 import { addSeconds } from 'date-fns/addSeconds';
 import mongoose from 'mongoose';
+
 import {
   PageActionStage,
   PageActionType,

+ 1 - 0
apps/app/test/integration/service/v5.public-page.test.ts

@@ -2,6 +2,7 @@
 
 import type { IPage, IRevision } from '@growi/core';
 import mongoose from 'mongoose';
+
 import type { CommentModel } from '../../../src/features/comment/server/models/comment';
 import type { IComment } from '../../../src/interfaces/comment';
 import {

+ 1 - 0
apps/pdf-converter/src/controllers/pdf.spec.ts

@@ -1,6 +1,7 @@
 import { PlatformTest } from '@tsed/platform-http/testing';
 import { JobStatus, JobStatusSharedWithGrowi } from 'src/service/pdf-convert';
 import SuperTest from 'supertest';
+
 import Server from '../server';
 
 describe('PdfCtrl', () => {

+ 1 - 0
apps/pdf-converter/src/controllers/pdf.ts

@@ -10,6 +10,7 @@ import {
   Required,
   Returns,
 } from '@tsed/schema';
+
 import PdfConvertService, {
   JobStatus,
   JobStatusSharedWithGrowi,

+ 0 - 1
apps/pdf-converter/src/service/pdf-convert.ts

@@ -2,7 +2,6 @@ import fs from 'node:fs';
 import path from 'node:path';
 import { Readable, Writable } from 'node:stream';
 import { pipeline as pipelinePromise } from 'node:stream/promises';
-
 import { OnInit } from '@tsed/common';
 import { Service } from '@tsed/di';
 import { Logger } from '@tsed/logger';

+ 0 - 1
apps/slackbot-proxy/src/controllers/slack.ts

@@ -1,5 +1,4 @@
 import { ServerResponse } from 'node:http';
-
 import {
   type GrowiCommand,
   type IChannelOptionalId,

+ 18 - 1
biome.json

@@ -48,7 +48,24 @@
   "assist": {
     "actions": {
       "source": {
-        "organizeImports": "on"
+        "organizeImports": {
+          "level": "on",
+          "options": {
+            "groups": [
+              ["react", "react/**"],
+              ["next", "next/**"],
+              [":NODE:", ":PACKAGE:"],
+              ":BLANK_LINE:",
+              ["@/**", "^/**"],
+              ":BLANK_LINE:",
+              "~/**",
+              ":BLANK_LINE:",
+              [":PATH:", "!**/*.css", "!**/*.scss"],
+              ":BLANK_LINE:",
+              ["**/*.css", "**/*.scss"]
+            ]
+          }
+        }
       }
     }
   },

+ 1 - 0
package.json

@@ -56,6 +56,7 @@
     "@types/css-modules": "^1.0.2",
     "@types/eslint": "^8.37.0",
     "@types/estree": "^1.0.1",
+    "@types/glob": "^8.1.0",
     "@types/node": "^20.18.3",
     "@types/path-browserify": "^1.0.0",
     "@typescript-eslint/eslint-plugin": "^5.59.7",

+ 0 - 1
packages/core/src/models/serializers/attachment-serializer.ts

@@ -3,7 +3,6 @@ import { Document } from 'mongoose';
 import type { IAttachment, IUser } from '~/interfaces';
 
 import { isPopulated, isRef, type Ref } from '../../interfaces/common';
-
 import {
   type IUserSerializedSecurely,
   serializeUserSecurely,

+ 1 - 1
packages/core/src/utils/page-path-utils/index.ts

@@ -2,10 +2,10 @@ import escapeStringRegexp from 'escape-string-regexp';
 
 import { isValidObjectId } from '../objectid-utils';
 import { addTrailingSlash } from '../path-utils';
-
 import { isTopPage as _isTopPage } from './is-top-page';
 
 export const isTopPage = _isTopPage;
+
 export * from './generate-children-regexp';
 
 /**

+ 0 - 1
packages/core/src/utils/page-utils.ts

@@ -1,5 +1,4 @@
 import type { IPage } from '..';
-
 import { isTopPage } from './page-path-utils/is-top-page';
 
 // const GRANT_PUBLIC = 1;

+ 0 - 1
packages/core/vite.config.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import glob from 'glob';
 import { nodeExternals } from 'rollup-plugin-node-externals';
 import { defineConfig } from 'vite';

+ 1 - 1
packages/pluginkit/src/v4/client/utils/growi-facade/growi-react.ts

@@ -1,5 +1,5 @@
-import type { GrowiFacade } from '@growi/core';
 import type React from 'react';
+import type { GrowiFacade } from '@growi/core';
 
 declare global {
   interface Window {

+ 0 - 1
packages/pluginkit/src/v4/server/utils/common/validate-growi-plugin-directive.spec.ts

@@ -1,7 +1,6 @@
 import { GrowiPluginType } from '@growi/core';
 
 import examplePkg from '../../../../../test/fixtures/example-package/template1/package.json';
-
 import { validateGrowiDirective } from './validate-growi-plugin-directive';
 
 const mocks = vi.hoisted(() => {

+ 0 - 1
packages/pluginkit/src/v4/server/utils/common/validate-growi-plugin-directive.ts

@@ -4,7 +4,6 @@ import {
   type GrowiPluginValidationData,
   GrowiPluginValidationError,
 } from '../../../../model';
-
 import { importPackageJson } from './import-package-json';
 
 export const validateGrowiDirective = (

+ 0 - 1
packages/pluginkit/src/v4/server/utils/template/scan.ts

@@ -7,7 +7,6 @@ import {
   type TemplateStatus,
   type TemplateSummary,
 } from '../../../interfaces';
-
 import { getStatus } from './get-status';
 import { validateTemplatePluginGrowiDirective } from './validate-growi-plugin-directive';
 

+ 0 - 1
packages/pluginkit/src/v4/server/utils/template/validate-growi-plugin-directive.spec.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import { GrowiPluginType } from '@growi/core';
 
 import { validateTemplatePluginGrowiDirective } from './validate-growi-plugin-directive';

+ 0 - 1
packages/pluginkit/src/v4/server/utils/theme/validate-growi-plugin-directive.spec.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import { isGrowiThemeMetadata } from '@growi/core';
 
 import { validateThemePluginGrowiDirective } from './validate-growi-plugin-directive';

+ 0 - 1
packages/pluginkit/src/v4/utils/template.spec.ts

@@ -1,5 +1,4 @@
 import type { TemplateSummary } from '../interfaces';
-
 import { extractSupportedLocales, getLocalizedTemplate } from './template';
 
 describe('getLocalizedTemplate', () => {

+ 0 - 1
packages/pluginkit/vite.config.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import glob from 'glob';
 import { nodeExternals } from 'rollup-plugin-node-externals';
 import { defineConfig } from 'vite';

+ 1 - 2
packages/presentation/src/client/components/GrowiSlides.tsx

@@ -1,5 +1,5 @@
-import Head from 'next/head';
 import type { JSX } from 'react';
+import Head from 'next/head';
 import ReactMarkdown from 'react-markdown';
 
 import type { PresentationOptions } from '../consts';
@@ -9,7 +9,6 @@ import {
   slideMarpit,
 } from '../services/growi-marpit';
 import * as extractSections from '../services/renderer/extract-sections';
-
 import {
   PresentationRichSlideSection,
   RichSlideSection,

+ 1 - 1
packages/presentation/src/client/components/MarpSlides.tsx

@@ -1,5 +1,5 @@
-import Head from 'next/head';
 import type { JSX } from 'react';
+import Head from 'next/head';
 
 import { presentationMarpit, slideMarpit } from '../services/growi-marpit';
 

+ 2 - 2
packages/presentation/src/client/components/Presentation.tsx

@@ -1,11 +1,11 @@
 import { type JSX, useEffect } from 'react';
-
 import Reveal from 'reveal.js';
 
 import type { PresentationOptions } from '../consts';
-import styles from './Presentation.module.scss';
 import { Slides } from './Slides';
 
+import styles from './Presentation.module.scss';
+
 const moduleClass = styles['grw-presentation'] ?? '';
 
 const baseRevealOptions: Reveal.Options = {

+ 0 - 1
packages/presentation/src/client/components/Slides.tsx

@@ -1,7 +1,6 @@
 import type { JSX } from 'react';
 
 import type { PresentationOptions } from '../consts';
-
 import { GrowiSlides } from './GrowiSlides';
 import { MarpSlides } from './MarpSlides';
 

+ 1 - 1
packages/presentation/src/services/use-slides-by-frontmatter.ts

@@ -1,5 +1,5 @@
-import type { Parent, Root } from 'mdast';
 import { useEffect, useState } from 'react';
+import type { Parent, Root } from 'mdast';
 import type { Processor } from 'unified';
 
 type ParseResult = {

+ 0 - 1
packages/presentation/vite.config.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import react from '@vitejs/plugin-react';
 import glob from 'glob';
 import { nodeExternals } from 'rollup-plugin-node-externals';

+ 0 - 1
packages/preset-templates/test/index.test.ts

@@ -1,5 +1,4 @@
 import path from 'node:path';
-
 import {
   scanAllTemplates,
   validateAllTemplateLocales,

+ 4 - 2
packages/remark-attachment-refs/src/client/components/AttachmentList.tsx

@@ -1,10 +1,12 @@
+import { type JSX, useCallback } from 'react';
 import type { IAttachmentHasId } from '@growi/core';
 import { Attachment, LoadingSpinner } from '@growi/ui/dist/components';
-import { type JSX, useCallback } from 'react';
-import styles from './AttachmentList.module.scss';
+
 import { ExtractedAttachments } from './ExtractedAttachments';
 import type { RefsContext } from './util/refs-context';
 
+import styles from './AttachmentList.module.scss';
+
 const AttachmentLink = Attachment;
 
 type Props = {

+ 2 - 1
packages/remark-attachment-refs/src/client/components/ExtractedAttachments.tsx

@@ -1,6 +1,7 @@
+import React, { type JSX, useCallback } from 'react';
 import type { IAttachmentHasId } from '@growi/core';
 import type { Property } from 'csstype';
-import React, { type JSX, useCallback } from 'react';
+
 // import Carousel, { Modal, ModalGateway } from 'react-images';
 
 import type { RefsContext } from './util/refs-context';

+ 0 - 1
packages/remark-attachment-refs/src/client/components/Ref.tsx

@@ -1,7 +1,6 @@
 import React, { type JSX, useMemo } from 'react';
 
 import { useSWRxRef } from '../stores/refs';
-
 import { AttachmentList } from './AttachmentList';
 import { RefsContext } from './util/refs-context';
 

+ 0 - 1
packages/remark-attachment-refs/src/client/components/RefImg.tsx

@@ -1,7 +1,6 @@
 import React, { type JSX, useMemo } from 'react';
 
 import { useSWRxRef } from '../stores/refs';
-
 import { AttachmentList } from './AttachmentList';
 import { RefsContext } from './util/refs-context';
 

+ 0 - 1
packages/remark-attachment-refs/src/client/components/Refs.tsx

@@ -1,7 +1,6 @@
 import React, { type JSX, useMemo } from 'react';
 
 import { useSWRxRefs } from '../stores/refs';
-
 import { AttachmentList } from './AttachmentList';
 import { RefsContext } from './util/refs-context';
 

+ 0 - 1
packages/remark-attachment-refs/src/client/components/RefsImg.tsx

@@ -1,7 +1,6 @@
 import React, { type JSX, useMemo } from 'react';
 
 import { useSWRxRefs } from '../stores/refs';
-
 import { AttachmentList } from './AttachmentList';
 import { RefsContext } from './util/refs-context';
 

+ 1 - 1
packages/remark-attachment-refs/src/client/stores/refs.spec.ts

@@ -4,8 +4,8 @@ import type { Server } from 'node:http';
 import { renderHook, waitFor } from '@testing-library/react';
 import axios from 'axios';
 import express from 'express';
-import refsMiddleware from '../../server';
 
+import refsMiddleware from '../../server';
 import { useSWRxRef, useSWRxRefs } from './refs';
 
 // Mock the IAttachmentHasId type for testing

+ 0 - 1
packages/remark-drawio/src/components/DrawioViewer.tsx

@@ -8,7 +8,6 @@ import {
   useRef,
   useState,
 } from 'react';
-
 import { debounce } from 'throttle-debounce';
 
 import type { IGraphViewerGlobal } from '..';

+ 0 - 1
packages/remark-growi-directive/test/remark-growi-directive.test.js

@@ -4,7 +4,6 @@
 
 import fs from 'node:fs';
 import path from 'node:path';
-
 import { isHidden } from 'is-hidden';
 import { remark } from 'remark';
 import { readSync } from 'to-vfile';

+ 3 - 2
packages/remark-lsx/src/client/components/Lsx.tsx

@@ -1,12 +1,13 @@
-import { LoadingSpinner } from '@growi/ui/dist/components';
 import React, { type JSX, useCallback, useMemo } from 'react';
+import { LoadingSpinner } from '@growi/ui/dist/components';
 
 import { useSWRxLsx } from '../stores/lsx';
 import { generatePageNodeTree } from '../utils/page-node';
-import styles from './Lsx.module.scss';
 import { LsxListView } from './LsxPageList/LsxListView';
 import { LsxContext } from './lsx-context';
 
+import styles from './Lsx.module.scss';
+
 type Props = {
   children: React.ReactNode;
   className?: string;

+ 2 - 1
packages/remark-lsx/src/client/components/LsxPageList/LsxListView.tsx

@@ -2,9 +2,10 @@ import React, { type JSX, useMemo } from 'react';
 
 import type { PageNode } from '../../../interfaces/page-node';
 import type { LsxContext } from '../lsx-context';
-import styles from './LsxListView.module.scss';
 import { LsxPage } from './LsxPage';
 
+import styles from './LsxListView.module.scss';
+
 type Props = {
   nodeTree?: PageNode[];
   lsxContext: LsxContext;

+ 2 - 2
packages/remark-lsx/src/client/components/LsxPageList/LsxPage.tsx

@@ -1,7 +1,7 @@
+import React, { type JSX, useMemo } from 'react';
+import Link from 'next/link';
 import { pathUtils } from '@growi/core/dist/utils';
 import { PageListMeta, PagePathLabel } from '@growi/ui/dist/components';
-import Link from 'next/link';
-import React, { type JSX, useMemo } from 'react';
 
 import type { PageNode } from '../../../interfaces/page-node';
 import type { LsxContext } from '../lsx-context';

+ 1 - 1
packages/remark-lsx/src/client/stores/lsx/lsx.spec.ts

@@ -4,8 +4,8 @@ import type { Server } from 'node:http';
 import { renderHook, waitFor } from '@testing-library/react';
 import axios from 'axios';
 import express from 'express';
-import lsxMiddleware from '../../../server';
 
+import lsxMiddleware from '../../../server';
 import { useSWRxLsx } from './lsx';
 
 // Mock the generateBaseQuery function

+ 0 - 1
packages/remark-lsx/src/client/stores/lsx/lsx.ts

@@ -6,7 +6,6 @@ import type {
   LsxApiParams,
   LsxApiResponseData,
 } from '../../../interfaces/api';
-
 import { type ParseNumOptionResult, parseNumOption } from './parse-num-option';
 
 const LOADMORE_PAGES_NUM = 10;

+ 0 - 1
packages/remark-lsx/src/client/utils/page-node.spec.ts

@@ -3,7 +3,6 @@ import { OptionParser } from '@growi/core/dist/remark-plugins';
 import { mock } from 'vitest-mock-extended';
 
 import type { PageNode } from '../../interfaces/page-node';
-
 import { generatePageNodeTree } from './page-node';
 
 function omitPageData(pageNode: PageNode): Omit<PageNode, 'page'> {

+ 1 - 0
packages/remark-lsx/src/server/index.ts

@@ -2,6 +2,7 @@ import { SCOPE } from '@growi/core/dist/interfaces';
 import type { NextFunction, Request, Response } from 'express';
 import { query, validationResult } from 'express-validator';
 import { FilterXSS } from 'xss';
+
 import type { LsxApiOptions } from '../interfaces/api';
 import { listPages } from './routes/list-pages';
 

+ 0 - 1
packages/remark-lsx/src/server/routes/list-pages/add-depth-condition.ts

@@ -2,7 +2,6 @@ import type { ParseRangeResult } from '@growi/core/dist/remark-plugins';
 import createError from 'http-errors';
 
 import { getDepthOfPath } from '../../../utils/depth-utils';
-
 import type { PageQuery } from './generate-base-query';
 
 export const addDepthCondition = (

+ 0 - 1
packages/remark-lsx/src/server/routes/list-pages/index.ts

@@ -6,7 +6,6 @@ import type { Request, Response } from 'express';
 import createError, { isHttpError } from 'http-errors';
 
 import type { LsxApiParams, LsxApiResponseData } from '../../../interfaces/api';
-
 import { addDepthCondition } from './add-depth-condition';
 import { addNumCondition } from './add-num-condition';
 import { addSortCondition } from './add-sort-condition';

+ 0 - 1
packages/slack/src/middlewares/verify-slack-request.ts

@@ -1,5 +1,4 @@
 import { createHmac, timingSafeEqual } from 'node:crypto';
-
 import type { NextFunction, Response } from 'express';
 import createError from 'http-errors';
 import { stringify } from 'qs';

+ 0 - 1
packages/slack/src/utils/check-communicable.ts

@@ -3,7 +3,6 @@ import axios, { type AxiosError } from 'axios';
 
 import { requiredScopes } from '../consts';
 import type { ConnectionStatus } from '../interfaces/connection-status';
-
 import { markdownSectionBlock } from './block-kit-builder';
 import { generateWebClient } from './webclient-factory';
 

+ 0 - 1
packages/slack/src/utils/interaction-payload-accessor.ts

@@ -2,7 +2,6 @@ import assert from 'node:assert';
 
 import type { IChannel } from '../interfaces/channel';
 import type { IInteractionPayloadAccessor } from '../interfaces/request-from-slack';
-
 import loggerFactory from './logger';
 
 const logger = loggerFactory('@growi/slack:utils:interaction-payload-accessor');

+ 0 - 1
packages/slack/src/utils/slash-command-parser.test.ts

@@ -1,5 +1,4 @@
 import { InvalidGrowiCommandError } from '../models/errors';
-
 import { parseSlashCommand } from './slash-command-parser';
 
 describe('parseSlashCommand', () => {

Некоторые файлы не были показаны из-за большого количества измененных файлов