@textlint-rule/textlint-rule-google-capitalization
v0.1.2
Published
Reference: https://developers.google.com/style/capitalization
Downloads
3,825
Keywords
Readme
@textlint-rule/textlint-rule-google-capitalization
Reference: Capitalization | Google Developer Documentation Style Guide | Google Developers
Install
Install with npm:
npm install @textlint-rule/textlint-rule-google-capitalization
Usage
Via .textlintrc
(Recommended)
{
"rules": {
"@textlint-rule/google-capitalization": true
}
}
Via CLI
textlint --rule @textlint-rule/google-capitalization README.md
Options
You can set whitelist words.
{
"rules": {
"@textlint-rule/google-capitalization": {
// allow lower-case words in anywhere
allowWords: []
}
}
}
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