2.4.2 • Published 2 years ago
textlint-rule-ja-space-after-question v2.4.2
textlint-rule-ja-space-after-question
疑問符の直後のスペースについてのtexlintルール
文末に疑問符を使用し、後に別の文が続く場合は、直後に全角スペースを挿入します。 文中に疑問符を使用する場合はスペースを挿入しません。
OK: 驚きの速さ!? これが新製品のキャッチコピーでした?
OK: どう操作したらよいのか?というユーザーの疑問に答えます。
NG: 驚きの速さ!? これが新製品のキャッチコピーでした?
NG: どう操作したらよいのか? というユーザーの疑問に答えます。Install
Install with npm:
npm install textlint-rule-ja-space-after-questionUsage
Via .textlintrc(Recommended)
{
"rules": {
"ja-space-after-question": true
}
}Via CLI
textlint --rule ja-space-after-question README.mdFixable
textlint --fixの自動修正に対応しています。
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