andrepolischuk / textlint-rule-real-symbols

Use real symbols, not alphabetic substitutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textlint-rule-real-symbols Build Status

Use real symbols, not alphabetic substitutes

Textlint rule to check and fix real symbols.

Install

npm install --save textlint-rule-real-symbols

Usage

textlint --fix --rule real-symbols README.md

Or enable the rule in your .textlintrc:

{
  "rules": {
    "real-symbols": true
  }
}

Read more about configuring textlint.

Examples

  • 3 x 2 = 63 × 2 = 6
  • 3 - 2 = 13 − 2 = 1
  • 3 >= 23 ≥ 2
  • 1 =< 21 ≤ 2
  • 99999 >> 199999 ≫ 1
  • 1 << 999991 ≪ 99999
  • 10 +- 110 ± 1
  • 10 -+ 110 ∓ 1
  • a <-> ba ↔ b
  • a <=> ba ⇔ b
  • a <- ba ← b
  • a -> ba → b
  • a <= ba ⇐ b
  • a => ba ⇒ b
  • (c) 2015 Foo© 2015 Foo
  • Foo (r)Foo ®
  • Foo(tm)Foo™
  • Foo bar baz...Foo bar baz…
  • Foo -- barFoo — bar
  • 2009-20152009–2015

License

MIT

About

Use real symbols, not alphabetic substitutes

License:MIT License


Languages

Language:JavaScript 100.0%