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

chore: add linter for async method Async suffix #242

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

wschurman
Copy link
Member

@wschurman wschurman commented Jun 14, 2024

Why

Noticed that these weren't enforced in the entity repo. This is in the code style for the repo so it makes sense to automatically enforce.

Fixes #33.

How

Enforce async method suffix.

Test Plan

yarn lint

@wschurman wschurman force-pushed the @wschurman/add-async-suffix-linter branch from 2dc67cf to 2a7a32d Compare June 14, 2024 20:27
@wschurman wschurman marked this pull request as ready for review June 14, 2024 20:28
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (59fc778) to head (2a7a32d).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #242   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           72        72           
  Lines         1949      1949           
  Branches       267       267           
=========================================
  Hits          1949      1949           
Flag Coverage Δ
integration 100.00% <ø> (ø)
unittest 100.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.

@wschurman wschurman merged commit 15117fc into main Jun 14, 2024
3 checks passed
@wschurman wschurman deleted the @wschurman/add-async-suffix-linter branch June 14, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an eslint rule to enforce async methods have Async suffix in method name
2 participants