Skip to content

Update ServerLimitationBar.tsx #40

Update ServerLimitationBar.tsx

Update ServerLimitationBar.tsx #40

Triggered via push October 30, 2024 16:02
Status Failure
Total duration 43s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
TypeScript: resources/scripts/components/elements/server/ServerLimitationBar.tsx#L44
Replace `⏎························{props.toHuman·?·megabytesToHuman(props.amount)·:·props.amount}⏎····················` with `{props.toHuman·?·megabytesToHuman(props.amount)·:·props.amount}`
TypeScript
Process completed with exit code 1.
PHP
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
TypeScript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
TypeScript: resources/scripts/components/elements/server/ServerLimitationBar.tsx#L6
'useEffect' is defined but never used. Allowed unused vars must match /^_/u
TypeScript: resources/scripts/components/elements/server/ServerLimitationBar.tsx#L34
'setLimits' is assigned a value but never used. Allowed unused vars must match /^_/u
TypeScript: resources/scripts/components/server/edit/EditContainer.tsx#L14
'ResourceBar' is defined but never used. Allowed unused vars must match /^_/u