Skip to content
textlint rule is that limit maximum comma(,) count of sentence.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

textlint-rule-max-comma Build Status

textlint rule is that limit maximum comma(,) count of sentence.

Installation

npm install textlint-rule-max-comma

Usage

$ npm install -D textlint textlint-rule-max-comma
$ $(npm bin)/textlint --rule max-comma README.md
#    11:0  error  This sentence exceeds the maximum count of comma. Maximum is 4.

Configure

Configure the maximum number of "," allowed in a sentence. The default is 4

Configure "max" value of the .textlintrc file.

{
  "rules": {
    "max-comma": {
        "max" : 3
    }
  }
}

Tests

npm test

Related

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

You can’t perform that action at this time.