冗長な表現を禁止するtextlintルールです。
冗長な表現とは、その文から省いても意味が通じるような表現を示しています。
- "することが可能"は冗長な表現です。"することが可能"を省き簡潔な表現にすると文章が明瞭になります。
- "することができる"は冗長な表現です。"することが"を省き簡潔な表現にすると文章が明瞭になります。
- "であると言えます"は冗長な表現です。"である" または "と言えます"を省き簡潔な表現にすると文章が明瞭になります。
- "であると考えている"は冗長な表現です。"である" または "と考えている"を省き簡潔な表現にすると文章が明瞭になります。
- "確認を行わなければ"は冗長な表現です。"確認しなければ"など簡潔な表現にすると文章が明瞭になります。
Install with npm:
npm install textlint-rule-ja-no-redundant-expression
Via .textlintrc
(Recommended)
{
"rules": {
"ja-no-redundant-expression": true
}
}
Via CLI
textlint --rule ja-no-redundant-expression README.md
See Releases page.
- 「することができる」は有害と考えられる - Qiita
- 読みやすい文章を書くために心がけたい10のポイント - クソログ
- 誰にでも分かるSEのための文章術(6):読みやすい文章の極意は「修飾語」にあり (2/2) - @IT
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.
- 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
MIT © azu