1.0.3 • Published 7 years ago
textlint-rule-max-number-of-lines v1.0.3
textlint-rule-max-number-of-lines
textlint rule for linting number of lines.
Installation
npm install textlint-rule-max-number-of-lines
Usage
$ npm install textlint textlint-rule-max-ten
$ textlint --rule textlint-rule-max-number-of-lines README.md
# Document is too long(number of lines: 679).
Configuration
Add config to .textlintrc
max
- default: 300
{
"rules": {
"max-number-of-lines": {
"max" : 300
}
}
}
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