Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: update typescript-eslint #10084

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

SharglutDev
Copy link
Contributor

@SharglutDev SharglutDev commented Dec 16, 2024

  • Remove the ban-types related to React.FC in .eslintrc as ban-types is
    not supported anymore and as we don't use RC in the appr anymore anyway.
  • Remove some unneeded asserts
  • Error in a catch now need to be handled, use the error in setFailure
    to display notifications to the user

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.43%. Comparing base (de25aca) to head (e80e3a8).
Report is 13 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10084      +/-   ##
==========================================
- Coverage   81.44%   81.43%   -0.01%     
==========================================
  Files        1058     1058              
  Lines      104243   104275      +32     
  Branches      724      723       -1     
==========================================
+ Hits        84900    84916      +16     
- Misses      19301    19317      +16     
  Partials       42       42              
Flag Coverage Δ
editoast 73.60% <ø> (-0.04%) ⬇️
front 89.17% <100.00%> (-0.01%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SharglutDev SharglutDev force-pushed the pfn/front/update-typescript-eslint branch 2 times, most recently from af3a3de to c8fef03 Compare December 16, 2024 12:56
@SharglutDev SharglutDev marked this pull request as ready for review December 16, 2024 13:12
@SharglutDev SharglutDev requested a review from a team as a code owner December 16, 2024 13:12
@SharglutDev SharglutDev self-assigned this Dec 16, 2024
Copy link
Contributor

@Uriel-Sautron Uriel-Sautron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@SharglutDev SharglutDev requested a review from emersion December 18, 2024 13:05
@SharglutDev SharglutDev force-pushed the pfn/front/update-typescript-eslint branch from c15388f to 3d7a744 Compare January 2, 2025 12:00
- Remove the ban-types related to React.FC in .eslintrc as ban-types is
not supported anymore and as we don't use RC in the appr anymore anyway.
- Remove some unneeded asserts
- Error in a catch now need to be handled, use the error in setFailure
  to display notifications to the user

Signed-off-by: SharglutDev <p.filimon75@gmail.com>
@SharglutDev SharglutDev force-pushed the pfn/front/update-typescript-eslint branch from 3d7a744 to e80e3a8 Compare January 3, 2025 10:25
@SharglutDev SharglutDev enabled auto-merge January 3, 2025 10:25
@SharglutDev SharglutDev added this pull request to the merge queue Jan 3, 2025
Merged via the queue into dev with commit 663a418 Jan 3, 2025
27 checks passed
@SharglutDev SharglutDev deleted the pfn/front/update-typescript-eslint branch January 3, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants