Skip to content

style(ui): prettier + eslint format using project config #7162

style(ui): prettier + eslint format using project config

style(ui): prettier + eslint format using project config #7162

Triggered via push October 31, 2023 12:56
Status Failure
Total duration 23m 41s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: push
Matrix: npm-test
Matrix: python-test
sonarcloud
0s
sonarcloud
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
npm-test (ubuntu-20.04): webapp/src/components/App/Data/index.tsx#L181
Replace `dataList.find((item)·=>·item.id·===·selectedItem)` with `(item)·=>·item.id·===·selectedItem,`
npm-test (ubuntu-20.04): webapp/src/components/App/Data/index.tsx#L182
Replace `······························?.name⏎··························` with `··························)?.name`
npm-test (ubuntu-20.04): webapp/src/components/App/Data/index.tsx#L231
Replace `dataList.find((item)·=>·item.id·===·selectedItem)` with `(item)·=>·item.id·===·selectedItem,`
npm-test (ubuntu-20.04): webapp/src/components/App/Data/index.tsx#L232
Replace `····?.name⏎························` with `)?.name`
npm-test (ubuntu-20.04): webapp/src/components/App/Singlestudy/explore/Modelization/Map/MapConfig/Districts/index.tsx#L39
Replace `······acc[area.id]·=·districts.reduce(` with `········acc[area.id]·=·districts.reduce(⏎··········`
python-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
python-test (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
python-test (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
python-code-coverage-report Expired
709 KB