@textlint-rule/textlint-rule-google-commas
v0.1.2
Published
Reference: https://developers.google.com/style/commas
Downloads
2,624
Keywords
Readme
@textlint-rule/textlint-rule-google-commas
Reference: Commas | Google Developer Documentation Style Guide | Google Developers
Supports
Currently, this rule support partially.
- [x] Serial commas
- [ ] Commas after introductory words and phrases
- [ ] Commas separating two independent clauses
- [ ] Commas separating independent from dependent clauses
- [x] Setting off other kinds of clauses
Install
Install with npm:
npm install @textlint-rule/textlint-rule-google-commas
Usage
Via .textlintrc
(Recommended)
{
"rules": {
"@textlint-rule/google-commas": true
}
}
Via CLI
textlint --rule @textlint-rule/google-commas README.md
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu