Bump eslint-config-beslogic to 3.0 and drop-pre-commit #79
canopeum_frontend_pr_validation.yml
on: pull_request
Lint-Autofixes
1m 12s
Build
1m 2s
Annotations
6 errors and 10 warnings
Lint-Autofixes
Process completed with exit code 1.
|
Lint-Autofixes:
canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx#L22
Switch is not exhaustive. Cases not matched: "ok"
|
Lint-Autofixes:
canopeum_frontend/src/components/settings/EditProfile.tsx#L291
Define a constant instead of duplicating this literal 3 times
|
Lint-Autofixes:
canopeum_frontend/src/pages/MapPage.tsx#L61
Make sure the use of the geolocation is necessary
|
Lint-Autofixes:
canopeum_frontend/src/pages/Register.tsx#L185
Define a constant instead of duplicating this literal 4 times
|
Lint-Autofixes
Process completed with exit code 1.
|
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/assets/SiteTypePin.tsx#L9
`JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace
|
Lint-Autofixes:
canopeum_frontend/src/components/context/AuthenticationContext.tsx#L19
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
Lint-Autofixes:
canopeum_frontend/src/components/context/LanguageContext.tsx#L15
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
Lint-Autofixes:
canopeum_frontend/src/components/context/SnackbarContext.tsx#L25
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
Lint-Autofixes:
canopeum_frontend/src/components/icons/CustomIcon.tsx#L23
Unexpected 'TODO' comment: 'TODO(NicolasDontigny): Find the best way...'
|
Lint-Autofixes:
canopeum_frontend/src/components/inputs/MultipleSelectChip.tsx#L68
Unexpected 'TODO' comment: 'TODO(NicolasDontigny): Find a more...'
|
Lint-Autofixes:
canopeum_frontend/src/hooks/HttpHook.tsx#L24
Unexpected 'TODO' comment: 'TODO(NicolasDontigny): Instead of...'
|
Lint-Autofixes:
canopeum_frontend/src/main.tsx#L9
Unexpected 'TODO' comment: 'TODO: Ask Nicolas if these were...'
|
Lint-Autofixes:
canopeum_frontend/src/pages/SiteSocialPage.tsx#L151
Always prefer const x: T = { ... }
|