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: now supports multi ignore in ignorePattern #578

Merged
merged 3 commits into from Aug 12, 2020

Conversation

YonatanKra
Copy link
Contributor

Support the case in which we have multiple ignores:
Before:
["!d", "!c"] would accept c (becuase arr.some(isAllowed) would return true).
After:
c is ignored

@YonatanKra YonatanKra changed the title Support multi ignore fix: now supports multi ignore in ignorePattern Aug 12, 2020
@rumpl
Copy link
Member

rumpl commented Aug 12, 2020

Could you rebase now that I merged your other PR please? Thanks :)

# Conflicts:
#	package-lock.json
#	package.json
@codecov
Copy link

codecov bot commented Aug 12, 2020

Codecov Report

Merging #578 into main will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #578      +/-   ##
==========================================
+ Coverage   98.48%   98.52%   +0.03%     
==========================================
  Files          47       47              
  Lines         925      947      +22     
==========================================
+ Hits          911      933      +22     
  Misses         14       14              
Impacted Files Coverage Δ
src/index.js 85.45% <100.00%> (-0.26%) ⬇️
src/parser/sass.js 100.00% <100.00%> (ø)
src/special/gatsby.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 1c5016b...ea60adb. Read the comment docs.

Copy link
Member

@rumpl rumpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@rumpl rumpl merged commit 1d1874b into depcheck:main Aug 12, 2020
@YonatanKra
Copy link
Contributor Author

Thank you for a very useful lib :)

@rumpl
Copy link
Member

rumpl commented Aug 12, 2020

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.

None yet

2 participants