{"_id":"@putout/plugin-remove-useless-escape@10.2.2","tag":false,"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"dist":{"shasum":"2819067a9eb1ed4b1823d2a491cdbcdf38d72f52","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-escape/download/@putout/plugin-remove-useless-escape-10.2.2.tgz","fileCount":4,"integrity":"sha512-JkSV4yP6UbhE9V1k//Y7V9seQgXHifLbeKgw1WpwZMNvLQsptAXKpugVfiW4O0MKkaRiiU5rrvbfdhSScsYjzQ==","signatures":[{"sig":"MEUCIGs1TtN15xoSWH5RCiBQyhKoLc21G5X2fTi998bg4YhLAiEAoh8k5iGbO6jo2yXlEVcjfXMY0K6Tms4sxHKpxcH3LPk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCK32wqdaOXe9Sq+2rZNsAbaNlXCZbF20GCvclsWgo5gwIgERm651yna3E6Mi1G4pOrZm9ONcccMZtybtKxG9LtdqA="}],"unpackedSize":6874,"size":2525,"noattachment":false,"key":"/@putout/plugin-remove-useless-escape/-/@putout/plugin-remove-useless-escape-10.2.2.tgz"},"main":"lib/remove-useless-escape.js","name":"@putout/plugin-remove-useless-escape","type":"module","author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"engines":{"node":">=22"},"gitHead":"d14af99e103c1c28dce8e465d436caf81398be29","license":"MIT","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"version":"10.2.2","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-escape#readme","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","useless","escape"],"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout plugin adds ability to find and remove useless escape","directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_nodeVersion":"26.10.0","dependencies":{"emoji-regex":"^11.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","@putout/eslint-flat":"^4.0.0","eslint-plugin-putout":"^31.0.0","@putout/plugin-madrun":"*","@putout/plugin-regexp":"*"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-remove-useless-escape_10.2.2_1790362987067_0.8442597353883226"},"readme":"# @putout/plugin-remove-useless-escape [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-escape.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-escape \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove useless escape.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-escape\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-escape\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst t = 'hello \\\"world\\\"';\nconst s1 = `hello \\\"world\\\"`;\nconst s = `hello \\'world\\'`;\n```\n\n## ✅ Example of correct code\n\n```js\nconst t = 'hello \"world\"';\nconst s1 = `hello \"world\"`;\nconst s = `hello 'world'`;\n```\n\n## Comparison\n\nLinter | Rule | Fix\n--------|-------|------------|\n🐊 **Putout**| [`remove-useless-escape`](https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-escape#readme)| ✅\n⏣ **ESLint** | [`no-useless-escape`](https://eslint.org/docs/rules/no-useless-escape) | ❌\n\n## License\n\nMIT\n","publish_time":1790362987163,"_cnpm_publish_time":1790362987163,"dist-tags":{"latest":"10.2.2"}}