{"name":"@putout/plugin-simplify-assignment","version":"3.1.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to simplify assignment","homepage":"https://github.com/coderaiser/putout/tree/v38.5.7/packages/plugin-simplify-assignment#readme","main":"lib/simplify-assignment.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","plugin","assignment","simplify"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^26.0.0","madrun":"^11.0.0"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-simplify-assignment@3.1.1","gitHead":"a5615c6735219a7518a1bfd7c3adda98f87e9138","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-ZomBcCeDAFzCDkOhPLgSRfQhuRZed0lxs2oYt3AT91Ld2e+LnadSBe7cjTZpr7Lyi5yCggT+e1ZHCs7j1yeXzw==","shasum":"0fa34fa4f25c3c2c92c4d1f3a642ceabdef3a7a3","tarball":"http://registry-npm.ywwl.com/@putout/plugin-simplify-assignment/download/@putout/plugin-simplify-assignment-3.1.1.tgz","fileCount":4,"unpackedSize":4273,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDZnS+cteD5kJ1d+7uEInSgiwozYLPYQGAM3LHstwgpdAiEAonWPoFqXMRqSWuMTwPIScSblpUdKg9CM0RxgCIAj8WY="}],"size":1957,"noattachment":false,"key":"/@putout/plugin-simplify-assignment/-/@putout/plugin-simplify-assignment-3.1.1.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-simplify-assignment_3.1.1_1742838811595_0.17457845052155974"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-simplify-assignment [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-simplify-assignment.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-simplify-assignment \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to simplify `assignment`.\nMerged with [`@putout/plugin-assignment`](https://www.npmjs.com/package/@putout/plugin-assignment).\n\n## Install\n\n```\nnpm i @putout/plugin-simplify-assignment -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"simplify-assignment\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst {a} = {\n    a: 5,\n};\n\nconst [b] = [5];\nconst c = (() => 7)();\n```\n\n## ✅ Example of correct code\n\n```js\nconst a = 5;\nconst b = 5;\nconst c = 7;\n```\n\n## License\n\nMIT\n","publish_time":1742838811762,"_cnpm_publish_time":1742838811762,"dist-tags":{"latest":"3.1.1"}}