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

feat(linter/no-return-try): add auto fixer #196

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DonIsaac
Copy link
Owner

WIP. This can cause problems when try is used to coerce error types or SomeError!value -> SomeError!?value

@DonIsaac DonIsaac added the C-enhancement Category - New feature or request label Jan 11, 2025
@github-actions github-actions bot added the A-linter Area - linter and lint rules label Jan 11, 2025
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.71%. Comparing base (8d49037) to head (30016bc).

Files with missing lines Patch % Lines
src/linter/rules/no_return_try.zig 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
- Coverage   83.76%   83.71%   -0.06%     
==========================================
  Files          61       61              
  Lines        4035     4040       +5     
==========================================
+ Hits         3380     3382       +2     
- Misses        655      658       +3     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - linter and lint rules C-enhancement Category - New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant