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

fix(prefer-empty): don't report on non empty template strings in to-be-empty #70

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

benmonro
Copy link
Member

@benmonro benmonro commented Aug 5, 2020

What:

fixes bug that was reporting errors on non empty template strings in prefer-empty.
Why:
#61 (comment)

How:
added check for expressions.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #70   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          138       138           
  Branches        21        21           
=========================================
  Hits           138       138           
Impacted Files Coverage Δ
src/rules/prefer-empty.js 100.00% <100.00%> (ø)

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 fec13f6...bcb70e7. Read the comment docs.

@benmonro
Copy link
Member Author

benmonro commented Aug 5, 2020

@all-contributors please add @atsikov for bugs

@allcontributors
Copy link
Contributor

@benmonro

I've put up a pull request to add @atsikov! 🎉

@benmonro benmonro merged commit 4f99df9 into master Aug 5, 2020
@benmonro benmonro deleted the bug/template-string-in-innerhtml-check branch August 5, 2020 15:00
@benmonro
Copy link
Member Author

benmonro commented Aug 5, 2020

🎉 This PR is included in version 3.1.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant