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
Allow to pass config instead of configPath #695
Conversation
Codecov Report
@@ Coverage Diff @@
## master #695 +/- ##
=======================================
Coverage 99.67% 99.67%
=======================================
Files 11 11
Lines 304 304
Branches 59 60 +1
=======================================
Hits 303 303
Misses 1 1
Continue to review full report at Codecov.
|
Ping @okonet, care to take a look and merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a documentation of this feature along with an examples how to use to the readme? Thanks!
Good point! We already have a section on the node api, so maybe add the config example there. |
Done |
Any chance to merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rebase on master and rename your commits to loosely match the Conventional Commits spec:
- feat: allow to pass config instead of configPath
- refactor: resolve config in same format as loadConfig
- docs: add docs
After this I can merge!
7ccff7b
to
bb37c68
Compare
done |
🎉 This PR is included in version 9.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It would be very useful if someone wants to use lint-staged as library (me)