Update automod components #7331
Annotations
10 errors and 8 warnings
🚀 Run ESLint:
packages/utils/database/reputation/set.ts#L51
Expected property shorthand
|
🚀 Run ESLint:
packages/utils/database/reputation/set.ts#L52
Expected property shorthand
|
🚀 Run ESLint:
packages/utils/database/reputation/set.ts#L72
'error' is defined but never used. Allowed unused caught errors must match /^_/u
|
🚀 Run ESLint:
packages/utils/functions/automod/http/validateAutoModRuleActions.ts#L2
'GuildTextChannelType' is defined but never used. Allowed unused vars must match /^_/u
|
🚀 Run ESLint:
packages/utils/functions/automod/http/validateAutoModRuleActions.ts#L2
'RESTGetAPIGuildChannelsResult' is defined but never used. Allowed unused vars must match /^_/u
|
🚀 Run ESLint:
packages/utils/functions/automod/http/validateAutoModRuleActions.ts#L4
'getGuildChannels' is defined but never used. Allowed unused vars must match /^_/u
|
🚀 Run ESLint:
packages/utils/functions/guild/getMemberGuilds.ts#L10
Prefer using the primitive `string` as a type name, rather than the upper-cased `String`
|
🚀 Run ESLint:
packages/utils/functions/util/fillMissingDates.ts#L5
Unexpected any. Specify a different type
|
🚀 Run ESLint:
packages/utils/functions/util/sumArray.ts#L1
Unexpected any. Specify a different type
|
🚀 Run ESLint
@majoexe/util#lint: command (/home/runner/work/majo.exe/majo.exe/packages/utils) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
|
🚀 Run ESLint:
packages/utils/database/moderation/automod/syncAutoModRule.ts#L4
`discord-api-types/globals` import should occur before import of `./deleteAutoModRule`
|
🚀 Run ESLint:
packages/utils/database/moderation/automod/syncAutoModRule.ts#L5
`@majoexe/database` import should occur before import of `./deleteAutoModRule`
|
🚀 Run ESLint:
packages/utils/database/moderation/automod/syncAutoModRule.ts#L6
`discord-api-types/v10` import should occur before import of `./deleteAutoModRule`
|
🚀 Run ESLint:
packages/utils/functions/automod/http/validateAutoModRuleActions.ts#L4
`../../guild` import should occur before import of `../../user/getPermissionNames`
|
🚀 Run ESLint:
packages/utils/functions/guild/getGuild.ts#L3
`discord-api-types/v10` import should occur before import of `./isBotInServer`
|
🚀 Run ESLint:
packages/utils/functions/guild/getGuildChannels.ts#L2
`@majoexe/config` import should occur before import of `discord.js`
|
🚀 Run ESLint:
packages/utils/functions/guild/getGuildRoles.ts#L1
`discord.js` import should occur after import of `discord-api-types/v10`
|
🚀 Run ESLint:
packages/utils/functions/guild/getMemberGuilds.ts#L3
`discord-api-types/v10` import should occur before import of `../user/getPermissionNames`
|
Loading