Several hooks inside the engagement dashboard disable the ESLint rule @typescript-eslint/explicit-function-return-type using inline suppressions.
This reduces type safety and introduces inconsistency with other hooks in the codebase that explicitly annotate their return types.
Affected Files
Located in:
apps/meteor/client/views/admin/engagementDashboard/
The following hooks currently suppress the rule:
useChannelsList.ts
useActiveUsers.ts
useMessageOrigins.ts
useMessagesSent.ts
useHourlyChatActivity.ts
useTopFivePopularChannels.ts
useUsersByTimeOfTheDay.ts
useWeeklyChatActivity.ts
Each file contains:
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type