Skip to content

Wildy Slayer changes #1322

Wildy Slayer changes

Wildy Slayer changes #1322

Triggered via pull request October 12, 2023 17:42
Status Failure
Total duration 47s
Artifacts

codequality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Typescript
Process completed with exit code 2.
ESLint: src/structures/SimpleMonster.ts#L5
Replace `·getAncientShardChanceFromHP,·getBrimKeyChanceFromCBLevel,·getLarranKeyChanceFromCBLevel,·getTotemChanceFromHP·` with `⏎↹getAncientShardChanceFromHP,⏎↹getBrimKeyChanceFromCBLevel,⏎↹getLarranKeyChanceFromCBLevel,⏎↹getTotemChanceFromHP⏎`
ESLint: src/util/util.ts#L165
Variable 'keyChance' should be initialized on declaration
ESLint: src/util/util.ts#L166
Delete `··`
ESLint: src/util/util.ts#L168
Replace `··keyChance·=·Math.round((1·/·(0.0056·*·combatLevel·+·1/` with `↹keyChance·=·Math.round((1·/·(0.0056·*·combatLevel·+·1·/·`
ESLint: src/util/util.ts#L170
Replace `··keyChance·=·Math.max(Math.round((1·/·(0.0056·*·combatLevel·+·1/` with `↹keyChance·=·Math.max(Math.round((1·/·(0.0056·*·combatLevel·+·1·/·`
ESLint: src/util/util.ts#L172
Delete `··`
ESLint: src/util/util.ts#L174
Delete `··`
ESLint: src/util/util.ts#L175
Delete `··`
ESLint
Process completed with exit code 1.
Typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/