Releases: fongandrew/eslint-plugin-unicode-typography
Releases · fongandrew/eslint-plugin-unicode-typography
Release list
1.0.1
1.0.0
Added
- Initial release of
eslint-plugin-unicode-typography - Single rule
prefer-unicodewith auto-fix support - Typography replacements:
...→…(ellipsis)--→—(em dash)-→–(en dash for ranges)""→“”(smart double quotes)''→‘’(smart single quotes)'→’(apostrophes in contractions likedon't)'"→′″(prime symbols after numbers like5' 6")
- Configurable scope options with trinary values (boolean or object):
checkStringLiterals- check JS/TS string literalscheckTemplateLiterals- check template literals (tagged/untagged)checkAttributes- check JSX attribute valuescheckChildren- check JSX text content
- Granular filtering:
onlyFunctions- limit string literal checks to specific function calls (e.g., i18n)tags/untagged- control which template literals to checkonlyAttributes- limit attribute checks to specific attributesonlyComponents- limit JSX children checks to specific elements
- Individual replacement toggles (
ellipsis,emdash,endash,quotes,apostrophes,primes) - ESLint flat config support (ESLint 9+)
- Legacy config support (ESLint 7-8)
- Recommended config preset