0.1.2 • Published 8 years ago
@textlint-rule/textlint-rule-google-dashes v0.1.2
@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-dashesUsage
Via .textlintrc(Recommended)
{
"rules": {
"@textlint-rule/google-dashes": true
}
}Via CLI
textlint --rule @textlint-rule/google-dashes README.mdTODO
- 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 testContributing
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