textlint rule check that abbreviations within parentheses.
Write abbreviations within parentheses.
Ths Object Management Group(OMG) maintains specifications for the Unified Modeling Language(UML).
OK:
This is Open Source Software(OSS)
これはOpen Source Software(OSS)なルールです
JavaScript(JS)
NG:
LTS(Long-Term Support)
JS(JavaScript)
This rule is OSS(Open Source Software)
これはOSS(Open Source Software)なルールです
Install with npm:
npm install textlint-rule-abbr-within-parentheses
Via .textlintrc
(Recommended)
{
"rules": {
"abbr-within-parentheses": true
}
}
Via CLI
textlint --rule abbr-within-parentheses README.md
最初に正式名称を書き、繰り返す書くので次から略すという意味合いで、略称を括弧内に書きます。
See Releases page.
Install devDependencies and Run npm test
:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © azu