1.0.0 • Published 1 year ago

textlint-rule-no-mixed-punctuations v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

textlint-rule-no-mixed-punctuations Actions Status: test textlint rule

prevents the mixing of LTR and RTL punctuations

Install

Install with npm:

npm install textlint-rule-no-mixed-punctuations

Fixable

textlint rule

textlint --rule no-mixed-punctuations --fix README.md

Example

"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.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

License

MIT © aborazmeh

1.0.0

1 year ago