Skip to content

Fix types

Fix types #28

Triggered via push September 24, 2024 12:32
Status Failure
Total duration 34s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
lint: src/debugOverlay.ts#L72
'buffers' is never reassigned. Use 'const' instead
lint: src/debugOverlay.ts#L73
'vtx' is never reassigned. Use 'const' instead
lint: src/debugOverlay.ts#L74
'cls' is never reassigned. Use 'const' instead
lint: src/entities/phys/testDummy.ts#L36
Type boolean trivially inferred from a boolean literal, remove type annotation
lint: src/scenarios/grenadeIsland.ts#L95
'wep' is never reassigned. Use 'const' instead
lint: src/utils/coodinate.ts#L44
All screenX signatures should be adjacent
lint: src/utils/coodinate.ts#L48
All screenY signatures should be adjacent
lint
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: src/components/app.tsx#L17
'v' is defined but never used
lint: src/components/ingame-view.tsx#L30
Unexpected any. Specify a different type
lint: src/entities/entity.ts#L1
'ShapeContact' is defined but never used
lint: src/entities/entity.ts#L2
'Point' is defined but never used
lint: src/entities/phys/grenade.ts#L6
'PIXELS_PER_METER' is defined but never used
lint: src/entities/phys/mine.ts#L1
'UPDATE_PRIORITY' is defined but never used
lint: src/entities/phys/mine.ts#L5
'PIXELS_PER_METER' is defined but never used
lint: src/entities/phys/physicsEntity.ts#L8
'ShapeContact' is defined but never used
lint: src/entities/phys/worm.ts#L1
'UPDATE_PRIORITY' is defined but never used
lint: src/entities/phys/worm.ts#L3
'BitmapTerrain' is defined but never used
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/