@textlint-rule/textlint-rule-google-dashes
v0.1.2
Published
Reference: https://developers.google.com/style/dashes
Downloads
3,252
Keywords
Readme
@textlint-rule/textlint-rule-google-dashes
Reference:
- Dashes | Google Developer Documentation Style Guide | Google Developers
- Ranges of numbers
- punctuation - Em-dash vs colon: "Remind me: what's your name again?" or "Remind me—what's your name again?" - English Language & Usage Stack Exchange
- Dash - Wikipedia
Install
Install with npm:
npm install @textlint-rule/textlint-rule-google-dashes
Usage
Via .textlintrc
(Recommended)
{
"rules": {
"@textlint-rule/google-dashes": true
}
}
Via CLI
textlint --rule @textlint-rule/google-dashes README.md
TODO
- [ ] use colon instead of dash or hyphen
- Currently, support partially
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