textlint rule that check no start with duplicated conjunction.
npm install textlint-rule-no-start-duplicated-conjunctiontextlint rule that check no start with duplicated conjunction.
npm install textlint-rule-no-start-duplicated-conjunction
npm install -g textlint textlint-rule-no-start-duplicated-conjunction
textlint --rule no-start-duplicated-conjunction README.md
``json5`
{
"rules": {
"no-start-duplicated-conjunction": {
"interval" : 2 // interval of sentences
}
}
}
``
But, A is ~.
So, A is ~.
But, A is ~.
(interval<=2)
This rule report Error => "don't repeat "But" in 2 phrases"
Ignore following link nodes:
`markdown`
import, a.js
import, b.js
No error
npm test
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT
- [[022388]文頭の接続詞の連続や、文末の表記の連続などをチェックする](http://support.justsystems.com/faq/1032/app/servlet/qadoc?QID=022388 "[022388]文頭の接続詞の連続や、文末の表記の連続などをチェックする")