utilities icon indicating copy to clipboard operation
utilities copied to clipboard

Update eslint config and dependencies

Open favna opened this issue 1 year ago • 3 comments

[!IMPORTANT] Rebase & Merge

[!IMPORTANT] ~~Depends on https://github.com/typescript-eslint/typescript-eslint/issues/8211 being fully resolved. In particular RuleTester from @typescript-eslint/rule-tester currently does not support flat config.~~ RESOLVED

This pull request updates the eslint config and dependencies for this repository.

TODO:

  • [x] Updated eslint to version 9 and switched to a flat config system.
  • [x] Updated the code to use the new eslint config.
  • [x] Update the eslint-plugin-result to ESLint v9
  • [ ] Wait for a stable release of typescript-eslint v8 and drop the alpha install
  • [ ] Clean up the commits for a clean rebase & merge

favna avatar Apr 07 '24 10:04 favna

Codecov Report

Attention: Patch coverage is 89.15663% with 45 lines in your changes are missing coverage. Please review.

Project coverage is 57.50%. Comparing base (dda47af) to head (b687c68).

Files Patch % Lines
packages/eslint-plugin-result/src/index.ts 0.00% 36 Missing :warning:
...es/eslint-plugin-result/src/configs/recommended.ts 0.00% 9 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #732      +/-   ##
==========================================
- Coverage   57.53%   57.50%   -0.03%     
==========================================
  Files         231      231              
  Lines       18334    18385      +51     
  Branches     1296      816     -480     
==========================================
+ Hits        10548    10572      +24     
- Misses       7781     7808      +27     
  Partials        5        5              
Flag Coverage Δ
18 57.50% <89.15%> (-0.03%) :arrow_down:
19 57.50% <89.15%> (-0.03%) :arrow_down:
20 57.50% <89.15%> (-0.03%) :arrow_down:
21 57.50% <89.15%> (-0.03%) :arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 28 '24 23:05 codecov[bot]

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

Codecov Report

Attention: Patch coverage is 89.15663% with 45 lines in your changes missing coverage. Please review.

Project coverage is 57.50%. Comparing base (dda47af) to head (b687c68). Report is 235 commits behind head on main.

Files with missing lines Patch % Lines
packages/eslint-plugin-result/src/index.ts 0.00% 36 Missing :warning:
...es/eslint-plugin-result/src/configs/recommended.ts 0.00% 9 Missing :warning:

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #732      +/-   ##
==========================================
- Coverage   57.53%   57.50%   -0.03%     
==========================================
  Files         231      231              
  Lines       18334    18385      +51     
  Branches     1296      816     -480     
==========================================
+ Hits        10548    10572      +24     
- Misses       7781     7808      +27     
  Partials        5        5              
Flag Coverage Δ
18 57.50% <89.15%> (-0.03%) :arrow_down:
19 57.50% <89.15%> (-0.03%) :arrow_down:
20 57.50% <89.15%> (-0.03%) :arrow_down:
21 57.50% <89.15%> (-0.03%) :arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Aug 23 '24 19:08 codecov-commenter