textlint-rule-max-comma 
textlint rule is that limit maximum comma(,) count of sentence.
Installation
npm install textlint-rule-max-comma
Usage
$ npm install -D textlint textlint-rule-max-comma
$ $(npm bin)/textlint --rule max-comma README.md
# 11:0 error This sentence exceeds the maximum count of comma. Maximum is 4.
Configure
Configure the maximum number of "," allowed in a sentence. The default is 4
Configure "max"
value of the .textlintrc
file.
{
"rules": {
"max-comma": {
"max" : 3
}
}
}
Tests
npm test
Related
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