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: relax require-await rule #69

Merged
merged 1 commit into from
Feb 23, 2019
Merged

feat: relax require-await rule #69

merged 1 commit into from
Feb 23, 2019

Conversation

satazor
Copy link
Contributor

@satazor satazor commented Feb 22, 2019

Reasoning: sometimes you want to have a promise returning function that actually uses only sync stuff inside. In those situations, using async is a lot cleaner than having to use Promise.resolve & Promise.reject.

Reasoning: sometimes you want to have a promise returning function that actually uses only sync stuff inside. In those situations, using `async` is a lot cleaner than having to use Promise.resolve & Promise.reject.
@satazor satazor requested a review from paulobmarcos February 22, 2019 23:00
@codecov
Copy link

codecov bot commented Feb 22, 2019

Codecov Report

Merging #69 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #69   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          21     21           
  Lines          25     25           
=====================================
  Hits           25     25
Impacted Files Coverage Δ
rules/best-practices.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d356c3...4c71969. Read the comment docs.

@satazor satazor merged commit fb416db into master Feb 23, 2019
@satazor satazor deleted the lax-await branch February 23, 2019 11:53
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.

1 participant