Преглед изворни кода

ignore non-fixable biome errors

Futa Arai пре 4 месеци
родитељ
комит
633cfb6e43

+ 2 - 0
apps/app/src/server/service/search-delegator/aggregate-to-index.ts

@@ -110,6 +110,7 @@ export const aggregatePipelineToIndex = (
         'revision.body': {
           $cond: {
             if: { $lte: ['$bodyLength', maxBodyLengthToIndex] },
+            // biome-ignore lint/suspicious/noThenProperty: ignore
             then: '$revision.body',
             else: '',
           },
@@ -121,6 +122,7 @@ export const aggregatePipelineToIndex = (
             in: {
               $cond: {
                 if: { $lte: ['$$comment.commentLength', maxBodyLengthToIndex] },
+                // biome-ignore lint/suspicious/noThenProperty: ignore
                 then: '$$comment.comment',
                 else: '',
               },

+ 1 - 0
apps/app/src/server/service/user-notification/index.ts

@@ -58,6 +58,7 @@ export class UserNotificationService {
     const siteUrl = growiInfoService.getSiteUrl();
 
     const promises = slackChannels.map(async (chan) => {
+      // biome-ignore lint/suspicious/noImplicitAnyLet: ignore
       let messageObj;
       if (mode === 'comment') {
         messageObj = prepareSlackMessageForComment(