Enhance Dockerfile and Vite configuration for library integration; re… - #608
SonarQube Cloud analysis failed
❌ The last analysis has failed.
Annotations
Check warning on line 86 in src/routes/home/GroupsMosaic.tsx
sonarqubecloud / SonarCloud Code Analysis
Do not use Array index in keys
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgmukvwGl2dQhpZo&open=AaCMIgmukvwGl2dQhpZo&pullRequest=608
Check warning on line 70 in src/routes/home/RandomPlanImage.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgm4kvwGl2dQhpZq&open=AaCMIgm4kvwGl2dQhpZq&pullRequest=608
Check warning on line 43 in src/routes/home/RandomMala.tsx
sonarqubecloud / SonarCloud Code Analysis
Make sure that using this pseudorandom number generator is safe here.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgmlkvwGl2dQhpZl&open=AaCMIgmlkvwGl2dQhpZl&pullRequest=608
Check warning on line 55 in src/routes/home/GroupsMosaic.tsx
sonarqubecloud / SonarCloud Code Analysis
Do not use Array index in keys
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgmukvwGl2dQhpZn&open=AaCMIgmukvwGl2dQhpZn&pullRequest=608
Check warning on line 50 in src/routes/home/RandomMala.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgmlkvwGl2dQhpZm&open=AaCMIgmlkvwGl2dQhpZm&pullRequest=608
Check failure on line 27 in src/routes/planviewer/components/SeriesCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgmTkvwGl2dQhpZk&open=AaCMIgmTkvwGl2dQhpZk&pullRequest=608
Check warning on line 235 in src/routes/navbar/NavigationBar.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgnHkvwGl2dQhpZr&open=AaCMIgnHkvwGl2dQhpZr&pullRequest=608
Check warning on line 235 in src/routes/navbar/NavigationBar.tsx
sonarqubecloud / SonarCloud Code Analysis
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgnHkvwGl2dQhpZs&open=AaCMIgnHkvwGl2dQhpZs&pullRequest=608
Check warning on line 44 in src/routes/home/RandomPlanImage.tsx
sonarqubecloud / SonarCloud Code Analysis
Make sure that using this pseudorandom number generator is safe here.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgm4kvwGl2dQhpZp&open=AaCMIgm4kvwGl2dQhpZp&pullRequest=608
Check warning on line 237 in src/services/library/alignments.test.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer "expect(mocked(fetchAlignmentPairs).mock.calls).toHaveLength(callsAfterFirst)" over this generic assertion for better reporting; it works on any object with a numeric length property.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgnXkvwGl2dQhpZt&open=AaCMIgnXkvwGl2dQhpZt&pullRequest=608
Check warning on line 489 in src/routes/chapterV2/chapter/helpers/UseChapterHook.tsx
sonarqubecloud / SonarCloud Code Analysis
Elements with the 'button' interactive role must be tabbable.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgjXkvwGl2dQhpZi&open=AaCMIgjXkvwGl2dQhpZi&pullRequest=608
Check warning on line 489 in src/routes/chapterV2/chapter/helpers/UseChapterHook.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=webuddhist_frontend&issues=AaCMIgjXkvwGl2dQhpZj&open=AaCMIgjXkvwGl2dQhpZj&pullRequest=608