refactor: remove parameter reassignment #9105
Annotations
6 errors and 8 warnings
ESLint (PR):
packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'guildId'.
|
ESLint (PR):
packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'cache'.
|
ESLint (PR):
packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'locale'.
|
ESLint (PR):
packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'withLocalizations'.
|
ESLint (PR)
discord.js#lint: command (/home/runner/work/discord.js/discord.js/packages/discord.js) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --format=compact exited (1)
|
ESLint (PR)
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint (PR):
packages/discord.js/src/managers/EntitlementManager.js#L67
Async method 'fetch' has no 'await' expression.
|
ESLint (PR):
packages/discord.js/src/structures/AnnouncementChannel.js#L22
Async method 'addFollower' has no 'await' expression.
|
ESLint (PR):
packages/discord.js/src/structures/ApplicationCommand.js#L389
Unexpected 'todo' comment: 'TODO: remove ?? 0 on each when nullable'.
|
ESLint (PR):
packages/discord.js/src/structures/Guild.js#L1352
Async method 'disableInvites' has no 'await' expression.
|
ESLint (PR):
packages/discord.js/src/structures/GuildScheduledEvent.js#L418
Unexpected 'todo' comment: 'TODO: scheduledEndTime gets reset on...'.
|
ESLint (PR):
packages/discord.js/src/structures/PartialGroupDMChannel.js#L95
Async method 'fetchOwner' has no 'await' expression.
|
ESLint (PR):
packages/discord.js/src/util/Options.js#L8
Unexpected 'todo' comment: 'TODO(ckohen): switch order of params so...'.
|
Loading