{"name":"@putout/plugin-remove-unused-expressions","version":"12.1.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove unused expressions","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-unused-expressions#readme","main":"lib/remove-unused-expressions.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","unused","expressions"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^28.0.0","madrun":"^11.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-remove-unused-expressions@12.1.0","gitHead":"3768bfd8a5a264ab168759cc203cc4bda3a6ced7","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-70I/hruXS5CTW/21ufvu3mgKdkNeOUy/FTUiBobtu4o/IMQyL1jxyTNkHQXS0eS6WseM0uCJJdbr1nvKge7HgQ==","shasum":"33e9afa9404c2ed1bcc8827f270a350a0d633f6a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unused-expressions/download/@putout/plugin-remove-unused-expressions-12.1.0.tgz","fileCount":4,"unpackedSize":6490,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6egotKLX/XrAiFqoQI7etvTd0wztk2oYPNqt8Ond3wAIgOJpzHUgSD2XdMogr5nPjokp0JzZmEDY5V3AJDH18CWs="}],"size":2487,"noattachment":false,"key":"/@putout/plugin-remove-unused-expressions/-/@putout/plugin-remove-unused-expressions-12.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-remove-unused-expressions_12.1.0_1764344809335_0.49301947436567994"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-unused-expressions [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unused-expressions.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unused-expressions\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove `unused expressions`, excluding directives: [`use strict`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) and [`use client`](https://react.dev/reference/rsc/use-client).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unused-expressions -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unused-expressions\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfunction show(error) {\n    showError;\n}\n```\n\n## ✅ Example of correct code\n\n```js\nfunction show(error) {}\n```\n\n## License\n\nMIT\n","publish_time":1764344809575,"_cnpm_publish_time":1764344809575,"dist-tags":{"latest":"13.0.0"}}