Migrate to ESLint Flat Config #229
canopeum_frontend_pr_validation.yml
on: pull_request
Lint-Autofixes
1m 2s
Build
48s
Annotations
2 errors and 12 warnings
Lint-Autofixes
Error: To https://github.com/BesLogic/releaf-canopeum
! refs/heads/Migrate-to-ESLint-Flat-Config:refs/heads/Migrate-to-ESLint-Flat-Config [rejected] (non-fast-forward)
Done
Pushing to https://github.com/BesLogic/releaf-canopeum
error: failed to push some refs to 'https://github.com/BesLogic/releaf-canopeum'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
Lint-Autofixes
Error: To https://github.com/BesLogic/releaf-canopeum
! refs/heads/Migrate-to-ESLint-Flat-Config:refs/heads/Migrate-to-ESLint-Flat-Config [rejected] (non-fast-forward)
Done
Pushing to https://github.com/BesLogic/releaf-canopeum
error: failed to push some refs to 'https://github.com/BesLogic/releaf-canopeum'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint-Autofixes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint-Autofixes:
canopeum_frontend/eslint.config.mjs#L41
Unexpected 'FIXME' comment: 'FIXME: These started failing from a...'
|
Lint-Autofixes:
canopeum_frontend/src/components/MainLayout.tsx#L23
Unexpected 'TODO' comment: 'TODO: Can we do better than hardcode a...'
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/BatchTable.tsx#L30
Unexpected 'TODO' comment: 'TODO: Use endpoint to get specific batch...'
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/FertilizersSelector.tsx#L70
Using the spread operator on class instances will lose their class prototype
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/MulchLayersSelector.tsx#L70
Using the spread operator on class instances will lose their class prototype
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/SiteSuccessRatesChart.tsx#L62
Unsafe type assertion: type 'number | undefined' is more narrow than the original type
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/SupportSpeciesSelector.tsx#L68
Using the spread operator on class instances will lose their class prototype
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/TreeSpeciesSelector.tsx#L72
Using the spread operator on class instances will lose their class prototype
|
Lint-Autofixes:
canopeum_frontend/src/components/analytics/batch-modal/batchModal.model.ts#L50
Using the spread operator on class instances will lose their class prototype
|
Lint-Autofixes:
canopeum_frontend/src/components/context/AuthenticationContext.tsx#L22
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|