npm

Join us for the "JavaScript Supply Chain Security" tech talk, presented by VP of Security, Adam Baldwin. 6/20 at 10am PT.Sign up here »

textlint-rule-no-start-duplicated-conjunction

2.0.2 • Public • Published

textlint-rule-no-start-duplicated-conjunction Build Status

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Reference

Keywords

install

npm i textlint-rule-no-start-duplicated-conjunction

Downloadsweekly downloads

680

version

2.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability