Update ServerLimitationBar.tsx #40
Annotations
4 errors and 4 warnings
|
Run Eslint:
resources/scripts/components/elements/server/ServerLimitationBar.tsx#L44
Replace `⏎························{props.toHuman·?·megabytesToHuman(props.amount)·:·props.amount}⏎····················` with `{props.toHuman·?·megabytesToHuman(props.amount)·:·props.amount}`
|
|
Run Eslint
Process completed with exit code 1.
|
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/
|
Run Eslint:
resources/scripts/components/elements/server/ServerLimitationBar.tsx#L6
'useEffect' is defined but never used. Allowed unused vars must match /^_/u
|
Run Eslint:
resources/scripts/components/elements/server/ServerLimitationBar.tsx#L34
'setLimits' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run Eslint:
resources/scripts/components/server/edit/EditContainer.tsx#L14
'ResourceBar' is defined but never used. Allowed unused vars must match /^_/u
|
Loading