Skip to content

Wildy slayer

Wildy slayer #13990

Triggered via pull request October 15, 2023 21:08
Status Success
Total duration 1m 13s
Artifacts

codequality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
ESLint
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
ESLint: src/lib/MUser.ts#L395
[eslint] reported by reviewdog 🐶 Unexpected any value in conditional. An explicit comparison or type cast is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected any value in conditional. An explicit comparison or type cast is required.","line":395,"column":9,"nodeType":"ChainExpression","messageId":"conditionErrorAny","endLine":395,"endColumn":23,"suggestions":[{"messageId":"conditionFixCastBoolean","fix":{"range":[11871,11885],"text":"Boolean((equipped?.item))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
ESLint: src/lib/MUser.ts#L587
[eslint] reported by reviewdog 🐶 Unexpected object value in conditional. The condition is always true. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected object value in conditional. The condition is always true.","line":587,"column":54,"nodeType":"Identifier","messageId":"conditionErrorObject","endLine":587,"endColumn":69}
ESLint: src/lib/MUser.ts#L590
[eslint] reported by reviewdog 🐶 Unexpected number value in conditional. An explicit zero/NaN check is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected number value in conditional. An explicit zero/NaN check is required.","line":590,"column":36,"nodeType":"MemberExpression","messageId":"conditionErrorNumber","endLine":590,"endColumn":64,"suggestions":[{"messageId":"conditionFixCompareZero","fix":{"range":[18129,18158],"text":"(rawBlowpipeData.dartQuantity === 0)"},"desc":"Change condition to check for 0 (`value !== 0`)"},{"messageId":"conditionFixCompareNaN","fix":{"range":[18129,18158],"text":"(Number.isNaN(rawBlowpipeData.dartQuantity))"},"desc":"Change condition to check for NaN (`!Number.isNaN(value)`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[18129,18158],"text":"(!Boolean(rawBlowpipeData.dartQuantity))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
ESLint: src/lib/MUser.ts#L600
[eslint] reported by reviewdog 🐶 Unexpected number value in conditional. An explicit zero/NaN check is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected number value in conditional. An explicit zero/NaN check is required.","line":600,"column":9,"nodeType":"MemberExpression","messageId":"conditionErrorNumber","endLine":600,"endColumn":31,"suggestions":[{"messageId":"conditionFixCompareZero","fix":{"range":[18511,18534],"text":"(rawBlowpipeData.scales === 0)"},"desc":"Change condition to check for 0 (`value !== 0`)"},{"messageId":"conditionFixCompareNaN","fix":{"range":[18511,18534],"text":"(Number.isNaN(rawBlowpipeData.scales))"},"desc":"Change condition to check for NaN (`!Number.isNaN(value)`)"},{"messageId":"conditionFixCastBoolean","fix":{"range":[18511,18534],"text":"(!Boolean(rawBlowpipeData.scales))"},"desc":"Explicitly cast value to a boolean (`Boolean(value)`)"}]}
ESLint: src/lib/slayer/constants.ts#L1
[eslint] reported by reviewdog 🐶 'AutoslayOptionsEnum' is already declared in the upper scope on line 1 column 13. Raw Output: {"ruleId":"no-shadow","severity":1,"message":"'AutoslayOptionsEnum' is already declared in the upper scope on line 1 column 13.","line":1,"column":13,"nodeType":"Identifier","messageId":"noShadow","endLine":1,"endColumn":32}
ESLint: src/lib/slayer/slayerUnlocks.ts#L18
[eslint] reported by reviewdog 🐶 'SlayerTaskUnlocksEnum' is already declared in the upper scope on line 18 column 13. Raw Output: {"ruleId":"no-shadow","severity":1,"message":"'SlayerTaskUnlocksEnum' is already declared in the upper scope on line 18 column 13.","line":18,"column":13,"nodeType":"Identifier","messageId":"noShadow","endLine":18,"endColumn":34}
ESLint: src/lib/slayer/slayerUtil.ts#L23
[eslint] reported by reviewdog 🐶 'SlayerMasterEnum' is already declared in the upper scope on line 23 column 13. Raw Output: {"ruleId":"no-shadow","severity":1,"message":"'SlayerMasterEnum' is already declared in the upper scope on line 23 column 13.","line":23,"column":13,"nodeType":"Identifier","messageId":"noShadow","endLine":23,"endColumn":29}
ESLint: src/lib/slayer/slayerUtil.ts#L44
[eslint] reported by reviewdog 🐶 Unexpected value in conditional. A boolean expression is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected value in conditional. A boolean expression is required.","line":44,"column":6,"nodeType":"MemberExpression","messageId":"conditionErrorOther","endLine":44,"endColumn":19}
ESLint: src/lib/slayer/slayerUtil.ts#L47
[eslint] reported by reviewdog 🐶 Unexpected value in conditional. A boolean expression is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected value in conditional. A boolean expression is required.","line":47,"column":6,"nodeType":"MemberExpression","messageId":"conditionErrorOther","endLine":47,"endColumn":19}
ESLint: src/lib/slayer/slayerUtil.ts#L49
[eslint] reported by reviewdog 🐶 Unexpected value in conditional. A boolean expression is required. Raw Output: {"ruleId":"@typescript-eslint/strict-boolean-expressions","severity":1,"message":"Unexpected value in conditional. A boolean expression is required.","line":49,"column":13,"nodeType":"MemberExpression","messageId":"conditionErrorOther","endLine":49,"endColumn":26}