textlint-rule-no-mixed-punctuations
v1.0.0
Published
prevents the mixing of LTR and RTL punctuations
Downloads
3
Readme
textlint-rule-no-mixed-punctuations

prevents the mixing of LTR and RTL punctuations
Install
Install with npm:
npm install textlint-rule-no-mixed-punctuationsFixable
textlint --rule no-mixed-punctuations --fix README.mdExample
"After a long, arduous journey through the dense forest، filled with towering trees and echoing sounds of wildlife؛ how did they finally find their way to the hidden, mystical waterfall, cascading down into a tranquil pool؟"
"After a long, arduous journey through the dense forest, filled with towering trees and echoing sounds of wildlife; how did they finally find their way to the hidden, mystical waterfall, cascading down into a tranquil pool?"
Usage
Via .textlintrc.json(Recommended)
{
"rules": {
"no-mixed-punctuations": true
}
}Via CLI
textlint --rule no-mixed-punctuations README.mdBuild
Builds source codes for publish to the lib folder.
You can write ES2015+ source codes in src/ folder.
npm run buildTests
Run test code in test folder.
Test textlint rule by textlint-tester.
npm testLicense
MIT © aborazmeh
