Browse Source

remove eslint-disable-next-line camelcase lines

Yuki Takei 2 months ago
parent
commit
7b2b7e4d4c

+ 0 - 1
apps/app/src/server/interfaces/search.ts

@@ -1,4 +1,3 @@
-/* eslint-disable camelcase */
 import type { SearchDelegatorName } from '~/interfaces/named-query';
 import type { ISearchResult } from '~/interfaces/search';
 

+ 0 - 1
apps/app/src/server/interfaces/slack-integration/link-shared-unfurl.ts

@@ -25,7 +25,6 @@ export type UnfurlEventLink = {
 export type UnfurlRequestEvent = {
   channel: string;
 
-  // eslint-disable-next-line camelcase
   message_ts: string;
 
   links: UnfurlEventLink[];

+ 1 - 1
apps/app/src/stores/page-listing.tsx

@@ -15,7 +15,7 @@ import useSWR, {
 } from 'swr';
 import useSWRImmutable from 'swr/immutable';
 import type { SWRInfiniteResponse } from 'swr/infinite';
-import useSWRInfinite, { unstable_serialize } from 'swr/infinite'; // eslint-disable-line camelcase
+import useSWRInfinite, { unstable_serialize } from 'swr/infinite';
 
 import type { IPagingResult } from '~/interfaces/paging-result';
 

+ 0 - 1
apps/slackbot-proxy/src/services/LinkSharedService.ts

@@ -25,7 +25,6 @@ type TokenPtoG = string;
 export type LinkSharedRequestEvent = {
   channel: string;
 
-  // eslint-disable-next-line camelcase
   message_ts: string;
 
   links: LinkSharedEventLink[];

+ 0 - 2
apps/slackbot-proxy/src/services/RegisterService.ts

@@ -34,9 +34,7 @@ const isProduction = process.env.NODE_ENV === 'production';
 const isOfficialMode = process.env.OFFICIAL_MODE === 'true';
 
 export type RegisterCommandBody = {
-  // eslint-disable-next-line camelcase
   trigger_id: string;
-  // eslint-disable-next-line camelcase
   channel_name: string;
 };
 

+ 0 - 3
apps/slackbot-proxy/src/services/SelectGrowiService.ts

@@ -29,11 +29,8 @@ type SelectValue = {
 };
 
 type SendCommandBody = {
-  // eslint-disable-next-line camelcase
   trigger_id: string;
-  // eslint-disable-next-line camelcase
   channel_id: string;
-  // eslint-disable-next-line camelcase
   channel_name: string;
 };
 

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

@@ -2,7 +2,6 @@ import type { IAttachmentHasId } from '@growi/core';
 import type { AxiosError } from 'axios';
 import axios from 'axios';
 import type { SWRResponse } from 'swr';
-// eslint-disable-next-line camelcase
 import useSWR, { unstable_serialize } from 'swr';
 
 export const useSWRxRef = (