@textlint-rule/textlint-rule-google-exclamation-points

Reference https://developers.google.com/style/exclamation-points

Usage no npm install needed!

<script type="module">
  import textlintRuleTextlintRuleGoogleExclamationPoints from 'https://cdn.skypack.dev/@textlint-rule/textlint-rule-google-exclamation-points';
</script>

README

@textlint-rule/textlint-rule-google-exclamation-points

Reference Exclamation points  |  Google Developer Documentation Style Guide  |  Google Developers

See also:

Install

Install with npm:

npm install @textlint-rule/textlint-rule-google-exclamation-points

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "@textlint-rule/google-exclamation-points": true
    }
}

Via CLI

textlint --rule @textlint-rule/google-exclamation-points README.md

Options

{
    // allow to use !
    "allowHalfWidthExclamation": false,
    // allow to use !
    "allowFullWidthExclamation": false,
    // allow to use ?
    "allowHalfWidthQuestion": false,
    // allow to use ?
    "allowFullWidthQuestion": false
}

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  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

Author

License

MIT © azu