Skip to content

Rpg changes

Rpg changes #285

Triggered via pull request November 16, 2023 18:40
@LunaUrsaLunaUrsa
synchronize #708
rpg-changes
Status Failure
Total duration 2m 37s
Artifacts 1

PullRequestOpenAll.yml

on: pull_request
Matrix: CodeQL
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Lint: src/discord/commands/guild/d.levels.ts#L210
Import in body of module; reorder to top
Lint: src/discord/commands/guild/d.levels.ts#L210
'node-fetch' should be listed in the project's dependencies. Run 'npm i -S node-fetch' to add it
Lint: src/discord/commands/guild/d.levels.ts#L210
`node-fetch` import should occur before import of `../../@types/commandDef`
Lint: src/discord/commands/guild/d.levels.ts#L211
Import in body of module; reorder to top
Lint: src/discord/commands/guild/d.levels.ts#L211
`fs` import should occur before import of `../../@types/commandDef`
Lint: src/discord/commands/guild/d.levels.ts#L212
Import in body of module; reorder to top
Lint: src/discord/commands/guild/d.levels.ts#L212
Expected 1 empty line after import statement not followed by another import
Lint: src/discord/commands/guild/d.levels.ts#L212
`util` import should occur before import of `../../@types/commandDef`
Lint: src/discord/commands/guild/d.levels.ts#L213
'writeFile' is assigned a value but never used
Lint: src/discord/commands/guild/d.levels.ts#L219
Unexpected parentheses around single function argument
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.levels.ts#L235
This line has a length of 139. Maximum allowed is 120
Lint: src/discord/commands/guild/d.levels.ts#L237
This line has a length of 134. Maximum allowed is 120
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.

Artifacts

Produced during runtime
Name Size
debug-artifacts-javascript Expired
59.1 MB