Catalog npm
PACKAGE EXPLORERView in registry

@0x6b/textlint-rule-no-smart-quotes

npm

textlint rule which detects and fixes smart quotes (curly quotes) to straight quotes.

curly-quotesquotessmart-quotestextlintrule
Versions collected1
Direct dependencies9From release 0.1.0
Last observed20 Oct, 22:38 UTC

README

Current package documentation

textlint-rule-no-smart-quotes

textlint rule which detects and fixes smart quotes (curly quotes) to straight quotes.

What it does

This rule detects the following smart quote characters and replaces them with their straight equivalents:

Code PointNameReplacement
U+201CLEFT DOUBLE QUOTATION MARK (“)"
U+201DRIGHT DOUBLE QUOTATION MARK (”)"
U+2018LEFT SINGLE QUOTATION MARK (‘)'
U+2019RIGHT SINGLE QUOTATION MARK (’)'

Install

Install with pnpm:

pnpm add @0x6b/textlint-rule-no-smart-quotes

Or with npm:

npm install @0x6b/textlint-rule-no-smart-quotes

This module requires Node.js >= 20.0.0.

Usage

Via .textlintrc(recommended):

{
  "rules": {
    "@0x6b/no-smart-quotes": true
  }
}

Via CLI:

textlint --rule @0x6b/no-smart-quotes README.md

Build

Builds source codes for publish to the lib/ folder.

pnpm install && pnpm run build

Test

Run test code in test folder by textlint-tester.

pnpm test

License

MIT © 0x6b

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0Registry latest30 Dec 20259

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0x6b/textlint-rule-no-smart-quotes

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6ea2845a645195139134859c93b9fb2c8fc0312bd7b7a9590048a94172a08042