safe-client-gateway icon indicating copy to clipboard operation
safe-client-gateway copied to clipboard

Fix @typescript-eslint/no-redundant-type-constituents instances

Open hectorgomezv opened this issue 9 months ago • 1 comments

Summary

While upgrading to ESLint 9, certain rules were temporarily ignored due to changes in their recommendations. One such rule was the @typescript-eslint/no-redundant-type-constituents rule.

This PR addresses instances where redundant type constituents were used, specifically string | unknown which is effectively the same as unknown.

Changes

  • Enable @typescript-eslint/no-redundant-type-constituents ESLint rule
  • Replace string | unknown with unknown.

hectorgomezv avatar May 10 '24 15:05 hectorgomezv

Pull Request Test Coverage Report for Build 9034159109

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.03%) to 93.025%

Files with Coverage Reduction New Missed Lines %
src/routes/transactions/entities/tests/human-description.builder.ts 1 90.0%
<!-- Total: 1
Totals Coverage Status
Change from base Build 9023794730: 0.03%
Covered Lines: 6985
Relevant Lines: 7235

💛 - Coveralls

github-actions[bot] avatar May 10 '24 15:05 github-actions[bot]