{"_id":"@putout/plugin-parens","_rev":"4160076","name":"@putout/plugin-parens","description":"🐊Putout plugin adds missing and remove useless parens","dist-tags":{"latest":"5.1.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:37:22.000Z","created":"2024-12-22T20:46:06.288Z","5.1.0":"2026-02-09T13:49:35.278Z","5.0.0":"2026-02-09T11:05:34.131Z","4.0.0":"2025-07-22T17:15:14.772Z","3.0.0":"2025-04-03T13:42:54.577Z","2.1.0":"2025-02-14T10:35:28.534Z","2.0.0":"2025-02-09T18:22:28.940Z","1.1.3":"2024-12-22T21:21:26.602Z","1.1.2":"2024-12-22T21:18:30.976Z","1.1.1":"2024-12-22T21:16:24.844Z","1.1.0":"2024-12-22T20:49:40.923Z","1.0.0":"2024-12-22T20:46:06.288Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"versions":{"5.1.0":{"name":"@putout/plugin-parens","version":"5.1.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/eslint-flat":"^4.0.0","@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@5.1.0","gitHead":"54d4ac201ec05983c70a7834e66c5e1bb0bdd155","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.6.0","_npmVersion":"11.4.2","dist":{"shasum":"952df889daac67fa2d6a31e94ba912570f9a68fe","size":3802,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-5.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-parens_5.1.0_1770644975139_0.4729310965314897"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-09T13:49:35.278Z","publish_time":1770644975278,"_source_registry_name":"default","_cnpm_publish_time":1770644975278},"5.0.0":{"name":"@putout/plugin-parens","version":"5.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/eslint-flat":"^4.0.0","@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@5.0.0","gitHead":"03dfe9d15a0a086a9b71d42ba639cc5eb5630fb1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.6.0","_npmVersion":"11.4.2","dist":{"shasum":"0361912d8f3a322d756f04eb3f467d43664d9560","size":3801,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-5.0.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-parens_5.0.0_1770635133966_0.4189803567439232"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-09T11:05:34.131Z","publish_time":1770635134131,"_source_registry_name":"default","_cnpm_publish_time":1770635134131},"4.0.0":{"name":"@putout/plugin-parens","version":"4.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"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":"^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-parens@4.0.0","gitHead":"b9d0e8d610c16a0dd425bf70e8d855522c686857","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"shasum":"87d4fba8410576c14531c4a21a4fe47ca8abf6e6","size":3768,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-4.0.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-parens_4.0.0_1753204514518_0.7162409562215477"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-22T17:15:14.772Z","publish_time":1753204514772,"_source_registry_name":"default","_cnpm_publish_time":1753204514772},"3.0.0":{"name":"@putout/plugin-parens","version":"3.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=39"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@3.0.0","gitHead":"90ba187148263f50eb9a62ee8a887d3e6571fff4","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.19.0","_npmVersion":"11.1.0","dist":{"shasum":"e689e659fdcc3ce67d3f29c995ecc4c3dfdc85a1","size":3767,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-3.0.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-parens_3.0.0_1743687774402_0.369454040969029"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-03T13:42:54.577Z","publish_time":1743687774577,"_source_registry_name":"default","_cnpm_publish_time":1743687774577},"2.1.0":{"name":"@putout/plugin-parens","version":"2.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^24.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=38"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@2.1.0","gitHead":"d2e034a857c814b236c7c306aab17ff6b405a5bb","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"10.9.0","dist":{"shasum":"cfef89c377331fa5453ce4110946deb1aaeb395d","size":3784,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-2.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-parens_2.1.0_1739529328305_0.3690657532385073"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-14T10:35:28.534Z","publish_time":1739529328534,"_source_registry_name":"default","_cnpm_publish_time":1739529328534},"2.0.0":{"name":"@putout/plugin-parens","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^24.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=38"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@2.0.0","gitHead":"7ffc1c3bdbfd241e7811e9e287408e192034476a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.1","_npmVersion":"10.9.0","dist":{"shasum":"53d97aa69fd11bb2dc68cd65906a1bcb241644b3","size":3398,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-2.0.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-parens_2.0.0_1739125348768_0.49576733200710144"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-09T18:22:28.940Z","publish_time":1739125348940,"_source_registry_name":"default","_cnpm_publish_time":1739125348940},"1.1.3":{"name":"@putout/plugin-parens","version":"1.1.3","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@1.1.3","gitHead":"ef96ad03df07aafadcadcd1e900069d008dede9f","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"42bbd3a566b31346ce0e740b9999c1f4258058e8","size":3381,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-1.1.3.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-parens_1.1.3_1734902486442_0.9742588011274635"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-22T21:21:26.602Z","publish_time":1734902486602,"_source_registry_name":"default","_cnpm_publish_time":1734902486602},"1.1.2":{"name":"@putout/plugin-parens","version":"1.1.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@1.1.2","gitHead":"65db85d76257cd00ab712c3e13a77145cc438a48","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"d8cc03deb48aa395367e9147ffa0735043014dff","size":3372,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-1.1.2.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-parens_1.1.2_1734902310792_0.7262893471448455"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-22T21:18:30.976Z","publish_time":1734902310976,"_source_registry_name":"default","_cnpm_publish_time":1734902310976},"1.1.1":{"name":"@putout/plugin-parens","version":"1.1.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@1.1.1","gitHead":"dbfe29845d1e008ecad7268f4c3cedf4fba76d6b","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"6256ff91eee6349a6f5b675ab65d935c5fe51ecf","size":3380,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-1.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-parens_1.1.1_1734902184643_0.08272755522759234"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-22T21:16:24.844Z","publish_time":1734902184844,"_source_registry_name":"default","_cnpm_publish_time":1734902184844},"1.1.0":{"name":"@putout/plugin-parens","version":"1.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@1.1.0","gitHead":"29db2d073e1bb4a6bb0bed65e59fd88f247d7d6a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"e3a09647f6d5e2306505070a2842d8d8ae728d96","size":3270,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-1.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-parens_1.1.0_1734900580743_0.3716211922529655"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-22T20:49:40.923Z","publish_time":1734900580923,"_source_registry_name":"default","_cnpm_publish_time":1734900580923},"1.0.0":{"name":"@putout/plugin-parens","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds missing and remove useless parens","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","main":"lib/index.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-add","parens","plugin"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-parens@1.0.0","gitHead":"1abf919c69690561da5472496d61efb2ad57b0f5","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"408718449b9935e7d937a4982fc2608d042eaab5","size":3255,"noattachment":false,"key":"/@putout/plugin-parens/-/@putout/plugin-parens-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-parens/download/@putout/plugin-parens-1.0.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-parens_1.0.0_1734900366114_0.5226442135922067"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-22T20:46:06.288Z","publish_time":1734900366288,"_source_registry_name":"default","_cnpm_publish_time":1734900366288}},"readme":"# @putout/plugin-parens [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-parens.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-parens \"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to add missing parens. Check out in ????[**Putout Editor**](https://putout.vercel.app/#/gist/a8ab0ffefed3b1e7dd0f43d794ea86f4/5d45fcc2e283b5b2d0b9e155010d1114b9f0a7ee).\n\n## Install\n\n```\nnpm i @putout/plugin-parens\n```\n\n## Rules\n\n- ✅ [add-missing-for-await](#add-missing-for-await);\n- ✅ [add-missing-for-template](#add-missing-for-template);\n- ✅ [add-missing-for-assign](#add-missing-for-assign);\n- ✅ [remove-useless-for-await](#remove-useless-for-params);\n- ✅ [remove-useless-for-params](#remove-useless-for-params);\n\n## Config\n\nShort:\n\n```json\n{\n    \"rules\": {\n        \"parens/add-missing\": \"on\",\n        \"parens/remove-useless\": \"on\"\n    }\n}\n```\n\nFull:\n\n```json\n{\n    \"rules\": {\n        \"parens/add-missing-for-await\": \"on\",\n        \"parens/add-missing-for-template\": \"on\",\n        \"parens/add-missing-for-assign\": \"on\",\n        \"parens/remove-useless-for-await\": \"on\",\n        \"parens/remove-useless-for-params\": \"on\"\n    }\n}\n```\n\n## add-missing-for-assign\n\n> The JavaScript exception \"invalid assignment left-hand side\" occurs when there was an unexpected assignment somewhere. It may be triggered when a single `=` sign was used instead of `==` or `===`.\n>\n> (c) [**MDN**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_assignment_left-hand_side)\n\nTo disable use:\n\n```json\n{\n    \"rules\": {\n        \"parens/add-missing-for-assign\": \"off\"\n    }\n}\n```\n\n```diff\n-a && b = a;\n+a && (b = a);\n```\n\n## add-missing-for-await\n\n### ❌ Example of incorrect code\n\n```ts\nawait asyncFn().filter(Boolean);\n```\n\n### ✅ Example of correct code\n\n```js\n(await asyncFn()).filter(Boolean);\n```\n\n## add-missing-for-template\n\n> The JavaScript exception \"tagged template cannot be used with optional chain\" occurs when the tag expression of a tagged template literal is an optional chain, or if there's an optional chain between the tag and the template.\n>\n> (c) [**MDN**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Bad_optional_template)\n\nCheckout in ????[**Putout Editor**](https://putout.vercel.app/#/gist/ef3f1e198a8d5ebeb9dd3fd1fef8f305/c6b46a34037f5cb095b5419b748a24b6dc8e2933).\n\n```json\n{\n    \"rules\": {\n        \"parens/add-missing-for-template\": \"off\"\n    }\n}\n```\n\n### ❌ Example of incorrect code\n\n```\ngetConsoleLog?.()``;\nString?.raw``;\nString?.raw!``;\n```\n\n### ✅ Example of correct code\n\n```ts\n(getConsoleLog?.())``;\n(String?.raw)``;\n(String?.raw)!``;\n```\n\n## remove-useless-for-await\n\nCheckout in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/3800b0c52a199dd49a089ed4b9b37566/e2dddb75cb68811883cae640a22b340b8e1afa73).\n\n### ❌ Example of incorrect code\n\n```ts\nconst s = (await m());\n```\n\n### ✅ Example of correct code\n\n```ts\nconst s = await m();\n```\n\n## remove-useless-for-params\n\n> `Uncaught SyntaxError: Invalid destructuring assignment target`\n>\n> (c) Chrome\n\nCheckout in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/8cbc3929366a2e6e5f9db64b461f5a2f/568ec40e8f4f0b0195dc44a078fa1a9ae62abe2b).\n\n### ❌ Example of incorrect code\n\n```\nconst a = ((b)) => c;\n\n```\n\n### ✅ Example of correct code\n\n```js\nconst a = (b) => c;\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-parens#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}