Canvas leaderboard + several other tweaks #299
Annotations
10 errors and 11 warnings
Lint:
src/discord/commands/guild/d.leaderboard.ts#L19
'paginationEmbed' is defined but never used
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L20
`@napi-rs/canvas` import should occur before import of `../../@types/commandDef`
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L24
A space is required before '}'
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L199
A space is required before '}'
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L253
'createLeaderboard' is defined but never used
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L280
A space is required before '}'
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L349
Trailing spaces not allowed
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L368
Trailing spaces not allowed
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L371
Expected a line break after this opening brace
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L371
Expected a line break before this closing brace
|
CodeQL (javascript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|
Lint:
src/api/apiV1/drugs/drugs.queries.ts#L181
Refactor this function to reduce its Cognitive Complexity from 403 to the 50 allowed
|
Lint:
src/discord/commands/global/d.donate.ts#L31
This line has a length of 209. Maximum allowed is 120
|
Lint:
src/discord/commands/global/d.donate.ts#L55
This line has a length of 202. Maximum allowed is 120
|
Lint:
src/discord/commands/global/d.mushroom_info.ts#L18
This line has a length of 154. Maximum allowed is 120
|
Lint:
src/discord/commands/global/d.mushroom_info.ts#L19
This line has a length of 331. Maximum allowed is 120
|
Lint:
src/discord/commands/global/d.reactionRole.ts#L209
Refactor this function to reduce its Cognitive Complexity from 55 to the 50 allowed
|
Lint:
src/discord/commands/global/d.tripsitmode.ts#L48
Refactor this function to reduce its Cognitive Complexity from 51 to the 50 allowed
|
Lint:
src/discord/commands/guild/d.bottest.ts#L116
Refactor this function to reduce its Cognitive Complexity from 774 to the 50 allowed
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L295
Refactor this function to reduce its Cognitive Complexity from 89 to the 50 allowed
|
Lint:
src/discord/commands/guild/d.leaderboard.ts#L397
This line has a length of 126. Maximum allowed is 120
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
debug-artifacts-javascript
Expired
|
59.3 MB |
|