Skip to content

Conversation

msumme
Copy link

@msumme msumme commented Aug 31, 2020

Remove file filtering behavior from lint command so it can be used like eslint with glob patterns

Updated tests.

Updated lintstagedrc.js to only run lint on .js(x), .ts(x) files to simulate same behavior

@msumme msumme requested a review from jrolfs August 31, 2020 22:24
@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2020

Codecov Report

Merging #233 into master will decrease coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #233      +/-   ##
==========================================
- Coverage   89.24%   89.18%   -0.06%     
==========================================
  Files          25       25              
  Lines         372      370       -2     
  Branches       86       84       -2     
==========================================
- Hits          332      330       -2     
  Misses         33       33              
  Partials        7        7              
Impacted Files Coverage Δ
src/config/lintstagedrc.js 100.00% <100.00%> (ø)
src/scripts/lint.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 7170bbc...ccb4e76. Read the comment docs.

@jrolfs jrolfs merged commit f9a6962 into master Aug 31, 2020
@jrolfs jrolfs deleted the lint-change branch August 31, 2020 23:28
@jrolfs
Copy link
Collaborator

jrolfs commented Aug 31, 2020

🎉 This PR is included in version 4.21.0 🎉

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.

3 participants