Skip to content

Refactor autoModSettings and changeMemberNickname functions: streamli… #7346

Refactor autoModSettings and changeMemberNickname functions: streamli…

Refactor autoModSettings and changeMemberNickname functions: streamli… #7346

Triggered via push November 30, 2024 17:14
Status Failure
Total duration 34s
Artifacts

lint.yml

on: push
Matrix: ESLint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
ESLint (lts/*): packages/utils/database/reputation/set.ts#L51
Expected property shorthand
ESLint (lts/*): packages/utils/database/reputation/set.ts#L52
Expected property shorthand
ESLint (lts/*): packages/utils/database/reputation/set.ts#L72
'error' is defined but never used. Allowed unused caught errors must match /^_/u
ESLint (lts/*): packages/utils/functions/automod/validateAutoModRuleActions.ts#L2
'GuildTextChannelType' is defined but never used. Allowed unused vars must match /^_/u
ESLint (lts/*): packages/utils/functions/automod/validateAutoModRuleActions.ts#L2
'RESTGetAPIGuildChannelsResult' is defined but never used. Allowed unused vars must match /^_/u
ESLint (lts/*): packages/utils/functions/automod/validateAutoModRuleActions.ts#L4
'getGuildChannels' is defined but never used. Allowed unused vars must match /^_/u
ESLint (lts/*): packages/utils/functions/guild/getMemberGuilds.ts#L10
Prefer using the primitive `string` as a type name, rather than the upper-cased `String`
ESLint (lts/*): packages/utils/database/moderation/automod/syncDatabaseAutoModRule.ts#L4
`discord-api-types/globals` import should occur before import of `./deleteDatabaseAutoModRule`
ESLint (lts/*): packages/utils/database/moderation/automod/syncDatabaseAutoModRule.ts#L5
`@majoexe/database` import should occur before import of `./deleteDatabaseAutoModRule`
ESLint (lts/*): packages/utils/database/moderation/automod/syncDatabaseAutoModRule.ts#L6
`discord-api-types/v10` import should occur before import of `./deleteDatabaseAutoModRule`
ESLint (lts/*): packages/utils/functions/automod/createDiscordAutoModRule.ts#L5
`./deleteDiscordAutoModRule` import should occur before import of `./fetchDiscordAutoModRules`
ESLint (lts/*): packages/utils/functions/automod/deleteDiscordAutoModRule.ts#L2
`@majoexe/config` import should occur before import of `discord.js`
ESLint (lts/*): packages/utils/functions/automod/fetchDiscordAutoModRules.ts#L1
`discord.js` import should occur after import of `discord-api-types/v10`
ESLint (lts/*): packages/utils/functions/automod/validateAutoModRuleActions.ts#L4
`../guild` import should occur before import of `../user/getPermissionNames`
ESLint (lts/*): packages/utils/functions/guild/getGuild.ts#L3
`discord-api-types/v10` import should occur before import of `./isBotInServer`
ESLint (lts/*): packages/utils/functions/guild/getGuildChannels.ts#L2
`@majoexe/config` import should occur before import of `discord.js`
ESLint (lts/*): packages/utils/functions/guild/getGuildRoles.ts#L1
`discord.js` import should occur after import of `discord-api-types/v10`