Socket
Socket
Sign inDemoInstall

textlint-rule-no-start-duplicated-conjunction

Package Overview
Dependencies
19
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    textlint-rule-no-start-duplicated-conjunction

textlint rule that check no start with duplicated conjunction.


Version published
Maintainers
1
Install size
519 kB
Created

Readme

Source

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

FAQs

Last updated on 24 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc