{"_id":"@0x6b/textlint-rule-no-smart-quotes","name":"@0x6b/textlint-rule-no-smart-quotes","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@0x6b/textlint-rule-no-smart-quotes","version":"0.1.0","description":"textlint rule which detects and fixes smart quotes (curly quotes) to straight quotes.","publishConfig":{"access":"public"},"keywords":["textlintrule","quotes","smart-quotes","curly-quotes"],"homepage":"https://github.com/0x6b/textlint-rule-no-smart-quotes","bugs":{"url":"https://github.com/0x6b/textlint-rule-no-smart-quotes/issues"},"license":"MIT","author":{"name":"0x6b"},"main":"lib/index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/0x6b/textlint-rule-no-smart-quotes.git"},"devDependencies":{"@biomejs/biome":"^1.9.4","@textlint/types":"^15.4.1","@types/node":"^24.10.1","husky":"^9.1.7","lint-staged":"^16.2.7","textlint-scripts":"^15.4.1","textlint-tester":"^15.4.1","ts-node":"^10.9.2","typescript":"^5.9.3"},"engines":{"node":">=20.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx,json}":["git stash --keep-index","biome check --write --no-errors-on-unmatched","git stash pop"]},"scripts":{"build":"textlint-scripts build","precommit":"lint-staged","postcommit":"git reset","prepublish":"pnpm run build","test":"textlint-scripts test","format":"biome check --write .","watch":"textlint-scripts build --watch"},"_id":"@0x6b/textlint-rule-no-smart-quotes@0.1.0","_integrity":"sha512-S7JXLFJbnU1/49tKxbX47F/kH0rKfdoZAq2AQsOyXEw9QzyTqjQtS4pZoaZguFlWDLWmUErF0482x5OuE0dEdg==","_resolved":"/private/var/folders/42/sxzp5k7954q9wzj390pqh0d80000gq/T/eeae76ced721391cc221492962302cb0/0x6b-textlint-rule-no-smart-quotes-0.1.0.tgz","_from":"file:0x6b-textlint-rule-no-smart-quotes-0.1.0.tgz","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-S7JXLFJbnU1/49tKxbX47F/kH0rKfdoZAq2AQsOyXEw9QzyTqjQtS4pZoaZguFlWDLWmUErF0482x5OuE0dEdg==","shasum":"7afc360a2f0486c13ff8d8b26d3c4fb80f80c152","tarball":"https://registry.npmjs.org/@0x6b/textlint-rule-no-smart-quotes/-/textlint-rule-no-smart-quotes-0.1.0.tgz","fileCount":5,"unpackedSize":10641,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDt72N1T2GKn+cZaePbYOnzWeMQ8KyzHVLaqy50NwunEAiEAzI9YjXxHuyt92b4vYFPayy1slq5DxGylSIeCiD0chM4="}]},"_npmUser":{"name":"0x6b","email":"npm_mytidhfqd7ncqnr73yfj@warpnine.io"},"maintainers":[{"name":"0x6b","email":"npm_mytidhfqd7ncqnr73yfj@warpnine.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/textlint-rule-no-smart-quotes_0.1.0_1767111552614_0.681266945782159"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-30T16:19:12.494Z","0.1.0":"2025-12-30T16:19:12.765Z","modified":"2025-12-30T16:19:13.088Z"},"maintainers":[{"name":"0x6b","email":"npm_mytidhfqd7ncqnr73yfj@warpnine.io"}],"description":"textlint rule which detects and fixes smart quotes (curly quotes) to straight quotes.","homepage":"https://github.com/0x6b/textlint-rule-no-smart-quotes","keywords":["textlintrule","quotes","smart-quotes","curly-quotes"],"repository":{"type":"git","url":"git+https://github.com/0x6b/textlint-rule-no-smart-quotes.git"},"author":{"name":"0x6b"},"bugs":{"url":"https://github.com/0x6b/textlint-rule-no-smart-quotes/issues"},"license":"MIT","readme":"# textlint-rule-no-smart-quotes\n\n[textlint](https://textlint.github.io/) rule which detects and fixes smart quotes (curly quotes) to straight quotes.\n\n## What it does\n\nThis rule detects the following smart quote characters and replaces them with their straight equivalents:\n\n| Code Point | Name                                  | Replacement |\n| ---------- | ------------------------------------- | ----------- |\n| `U+201C`   | LEFT DOUBLE QUOTATION MARK (&ldquo;)  | `\"`         |\n| `U+201D`   | RIGHT DOUBLE QUOTATION MARK (&rdquo;) | `\"`         |\n| `U+2018`   | LEFT SINGLE QUOTATION MARK (&lsquo;)  | `'`         |\n| `U+2019`   | RIGHT SINGLE QUOTATION MARK (&rsquo;) | `'`         |\n\n## Install\n\nInstall with [pnpm](https://pnpm.io/):\n\n```sh\npnpm add @0x6b/textlint-rule-no-smart-quotes\n```\n\nOr with npm:\n\n```sh\nnpm install @0x6b/textlint-rule-no-smart-quotes\n```\n\nThis module requires Node.js >= 20.0.0.\n\n## Usage\n\nVia `.textlintrc`(recommended):\n\n```json\n{\n  \"rules\": {\n    \"@0x6b/no-smart-quotes\": true\n  }\n}\n```\n\nVia CLI:\n\n```\ntextlint --rule @0x6b/no-smart-quotes README.md\n```\n\n### Build\n\nBuilds source codes for publish to the `lib/` folder.\n\n```sh\npnpm install && pnpm run build\n```\n\n### Test\n\nRun test code in `test` folder by [textlint-tester](https://github.com/textlint/textlint-tester \"textlint-tester\").\n\n```sh\npnpm test\n```\n\n## License\n\nMIT © 0x6b\n","readmeFilename":"README.md","_rev":"1-c89aff723db42e97456102ef6796a2cc"}