textlint-rule-no-start-duplicated-conjunction
v2.0.2
Published
textlint rule that check no start with duplicated conjunction.
Downloads
4,642
Keywords
Readme
textlint-rule-no-start-duplicated-conjunction
textlint rule that check no start with duplicated conjunction.
Installation
npm install textlint-rule-no-start-duplicated-conjunction
Usage
npm install -g textlint textlint-rule-no-start-duplicated-conjunction
textlint --rule no-start-duplicated-conjunction README.md
Config
{
"rules": {
"no-start-duplicated-conjunction": {
"interval" : 2 // interval of sentences
}
}
}
Example
But, A is ~.
So, A is ~.
But, A is ~.
(interval<=2)
This rule report Error => "don't repeat "But" in 2 phrases"
Exception
Ignore following link nodes:
[import, a.js](a.js)
[import, b.js](b.js)
No error
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