textlint formatter for Codecov.
What is Codecov format?
See Codecov JSON.
Installation
npm install textlint-formatter-codecov
Usage
# In Travis CI | Circle CI...
npm install codecov.io textlint textlint-formatter-codecov -D
textlint -f codecov | codecov.io
1: # Example [](https://codecov.io/github/azu/textlint-formatter-codecov?branch=master)
2:
3(✔textlint error): - [ ] TODO
4:
5(✔textlint error): jQuerl is not jQuery.
6:
7: Here.
- 5 Hit(line)
- 2 Missed(line)
=> 1 - (2/7) = 71.42% = Text Coverage!
Tests
npm test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT