Skip to content

Add linting, formatting, and enforce in CI #1

Add linting, formatting, and enforce in CI

Add linting, formatting, and enforce in CI #1

Triggered via pull request August 7, 2024 07:12
@MangoSwirlMangoSwirl
opened #33
ci
Status Failure
Total duration 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
TypeScript: app/onboarding/tournaments.tsx#L102
Cannot find name 'Tournament'.
TypeScript: app/settings/index.tsx#L38
No overload matches this call.
TypeScript: app/settings/index.tsx#L172
'qrCodeSize' is of type 'unknown'.
TypeScript: app/settings/qrcode-size.tsx#L122
No overload matches this call.
TypeScript: app/settings/tournament.tsx#L113
'Tournament' refers to a value, but is being used as a type here. Did you mean 'typeof Tournament'?
TypeScript: app/settings/tournament.tsx#L148
'Tournament' refers to a value, but is being used as a type here. Did you mean 'typeof Tournament'?
TypeScript: lib/collection/ui/ScoutReportCode.tsx#L71
Argument of type 'unknown' is not assignable to parameter of type 'number'.
TypeScript: lib/lovatAPI/addScouter.ts#L18
Cannot find name 'Scouter'.
TypeScript: lib/lovatAPI/getTournaments.ts#L18
Cannot find name 'Tournament'.
TypeScript: lib/lovatAPI/getTournaments.ts#L25
Cannot find name 'Tournament'.
Prettier
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Prettier
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. 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 uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
TypeScript
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/