{"_id":"@putout/plugin-remove-useless-else","_rev":"6-e4a348c2c7348672ccbfa9f63b4fde07","name":"@putout/plugin-remove-useless-else","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@putout/plugin-remove-useless-else","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability use apply early return","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"9fa61b7f49e288e79b291823ae6f38d1bfdce300","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-RV3NftlylQgYCS4Uwkqw1FV6MmVmRjgF4CbGA+RIfRKFlI6zxwnYGX0WHD3qa7E65mr3YB+NC09cYYr4QCAArg==","shasum":"ba4214bae4e073fe46b7ac34919abd5a7692181d","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-1.0.0.tgz","fileCount":4,"unpackedSize":4092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL0sZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpl9A//eqgY4kBGmNxfLjCh/8RltkG+WDtKPtkLLCyOkn9c59MGmbte\r\nPnDhmgYllMCe+oBfmFIsUdXVDbIUZB681dNCkj2ghlLhkrnJeoqRfu5rBamF\r\nL9aHUhClZKxNjrqSfExOQiRcdiAnvnRUgFIqMLOTRohCYjAtWO79vXYCoKjA\r\ndTGNbPwcObp/E0taQDdrlcRyyi3C9zzw5xHquvFIDMKLPBlDFvNvMy6MXap5\r\nILDqqB1gFhdeYh79269/qr+2AuztTFccV6BYqT7SFdwoVVbZmOhDLIuiD6AN\r\nZy8Ee7EsVGmYhmORKZMDZAcUkeKXvCuH2A7E5PaE3r5tkf50uyVbbCpWay6A\r\nej8oV7bEqM2CvVNhaliktR/e1OR5ShBZy7wGjrFNStRZVkPYLAEXWCnTwyLB\r\nJWD/dgWPUizXkEOPrlxNy6/NJV3Pt5eJD3/4CqpmvVffO67AmJX87+StIVjR\r\nOgWCNk5qPChykUazbNVf0I0q4BvL5NFAGZ9eN0ZhS8oNokvBeESFFo6UvT9F\r\nqfub6+Whpvuswqm7Ya+2h74LRPY8bj1zIoR84NBWbzklJIz2q/ugUHZKYYc7\r\nA3ETLInA8HezMRhvGvgiwSga23orl5uVyJmxr8tMMwjhX47LIh8qZbu+6L/l\r\naKaRVyWp+A8rdPnUwHlGfveEKDz0mzqD6Yo=\r\n=7ww3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeqd9keqCAe9/vdVklxALLMB5D3NftwYWfiA2c11O5EAiEAzf0v0HAXD1lWy3eHiNmB/YGgAxm1h3UPHB+t+GqTKi4="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_1.0.0_1647266584993_0.386767080487753"},"_hasShrinkwrap":false},"1.0.1":{"name":"@putout/plugin-remove-useless-else","version":"1.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability use apply early return","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"9fa61b7f49e288e79b291823ae6f38d1bfdce300","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@1.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-MVq/oiAbQpoZlBffm+kOiR7M3WRsSVdg0slOYiwisjaNWdpcsMhY4yP1zIYbJMByAwaMGm0ti8q7euRBgH3xSw==","shasum":"f3eba170791519694f85c2c80330cfa9af7e6483","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-1.0.1.tgz","fileCount":4,"unpackedSize":4095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL0uIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjKg//TiowsJHHmMFjbpqN8r2Dp3tqamqdp8nDdCEzs5RbmoiBYqhd\r\nki2q07aW6slbshSzGfFgw1JY4ZX9SWZd6KBmg8sEh9tjpyFt7Cr/8NlZ4Yat\r\nkflrD9+DLELfuqrbehUbabs63tN2TwROsmipl5itdlGnEouguxei53Kl4wQL\r\nZjHu0C69vfSFPy12aIvJ3g/321dH4Sqi4xf0ObvqENlRtUXLK+TfnMxdtiLE\r\npvavMkOQ/EIY48Ysind6v3hGR138epS65kFkU5RRip/wsSdt4DORGxXrC1Tr\r\nIhLEuCpDOBfZ7VLdA1EuickWaE7nURGWarOh5W+wqtLIPMVHNcufzCf3Wram\r\n4VGpMfh8qxxQudvi2APaTMFfPRrRnGzI7gN8SD9IrBg8p9aE6KnGsN7HhueX\r\n/9DRjDOCa6btn56Z3AbzMTlArhkRUyxmCqPohivFCaYlG5Iw/tiBhqFoBQ03\r\nRAF+gmlHQ7bSuxvGSNAVEPYNOkoAwyxaO5f0Ok719Jn/53JUnkscGeVRgSm/\r\n1JMvok2xSixSCPvpM344IHmhNQ1AqNmfCwH2QlZzqnnobaUW+2/WLa5HN8kK\r\nPZyHnQlKrDTfhDpUc78sOBReS/C8VSqZvfMr3W66cn1niqETTHQGEQ3/RlVX\r\n3hmfNZK5DcR6jR4LZuA1n1oCVhOivUN3j7c=\r\n=Ov6e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3iIjxXlqFrvxWl7EtVcPah48+QfgzGpMRMQ0E7fCEAAiBtKQT7H6ecsEq+zcEvG86ehA1eMGKsBmmVmhrkO/h9PA=="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_1.0.1_1647266696684_0.9935339855763461"},"_hasShrinkwrap":false},"1.1.0":{"name":"@putout/plugin-remove-useless-else","version":"1.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability use apply early return","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"614efc6940ae80c563b1516b8817f736ee9b2cbc","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@1.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-sYh2gOwh0E1Qr+OO9KU29EdfLomESmWrPXZmEL25sOFhSRe1oqmkC5W5vWt2zsMBt7RrTJ9atAW+akf0E2numw==","shasum":"246c81f375914decb8c84187916ec6955d8bee25","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-1.1.0.tgz","fileCount":4,"unpackedSize":3998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQM+MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgRg//U0n1WUy7ipCzm/f5d00nTeUk4DaB5BTQjjSWrWuvCCygtvTH\r\nNhQbpR8apwYXykNs5gHxTA0J5EvEvQdhRZqTCu6beVhCZ9JxsQQshDy61Esx\r\nV1xZueNxEqLYnpNcnSqR4N89F+8y+NuYdCDaua+z23HDzUNKgLNbp1m7OCKq\r\nOL8KlY2ZchkfgejGar1n4gba+uBiW986OP9GGfdtMMmip10naBYKUs2EOLIO\r\n7g3vAjXiBMSuTjus+3srialUKaFvsiNYM5LukRkzJTJgxeVsWZowRk8v/fN/\r\nkOSjjiAw51+4Ez8h3jogu6cdEAQwHg6GrNcVUdcOe/lRMgQO7zJ5nEFzDZcv\r\n+UFp5n58msYucHCPJv2+92jovBkmahMInrft2qvwaHC+9NCGpu6ZLRoG7fVd\r\ntA3XHuxzyuFLnLrH7H/xhhoNsHASRAkUoMUpg8M8oitYgeZvue4SsZQLG6UT\r\njigd9RellilZ4dMU7gPd8tYnismkAMjn4w2i//nha9H9ottJAsIHyoRoNAKg\r\nE2/QAL/OGZ25m6gCSI/ACfHKRWa6P5jGL6gb5m631Og8Sa3DptDODLinWG9p\r\nVMZCP8T4eo+W8xdQGtfQbFxw7qSXYGhcf9Ljjteqol/OgWBcVrzTrtIELC3S\r\nvtFUmkD2F/f3qmSeZbCU1/N/bBkzrMpxq00=\r\n=6Sst\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENGoCQ1PgX17VkT1QFrQb+mX3ohMEQM5QRk+pQi8Ny8AiEAwwpLFD/1ivmCVSf9jSr3MN5P2JWXJVyGWgrOJ4h/R98="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_1.1.0_1648414604299_0.2730146272951621"},"_hasShrinkwrap":false},"2.0.0":{"name":"@putout/plugin-remove-useless-else","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability use apply early return","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"672e505f8a82f4f531ee80088437ac65eb796558","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@2.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-tKIFJa5uoOHtWMkha8qvJf2kt01FdkDzsLRK0Bcm7Rkz3XB8HaSg8vKCuZ8vPetfvSNuijUydUnABU8lUzBbow==","shasum":"073a35dde6a5965577ed21861f555f55b9ff36c4","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-2.0.0.tgz","fileCount":4,"unpackedSize":3999,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEp6WCwbf5dGRbcvSYkp01bgTyvk+nzlcFeFyqRTIf1sAiEAj0ZLHg6GVt3aLqHfY/0wztp4BXoXowQ9ff8nVpDW05U="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_2.0.0_1684940838754_0.3683893842731494"},"_hasShrinkwrap":false},"2.0.1":{"name":"@putout/plugin-remove-useless-else","version":"2.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless else","homepage":"https://github.com/coderaiser/putout/tree/v31.8.5/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^19.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"4de6c92539bc864a7dec44416587a3506e6ac733","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@2.0.1","_nodeVersion":"20.5.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-5qmNo5wa4EBMf7RYMUALyAxTAYmWFC6UxOtwkn5BwyNcGW3bBiaIx8FH293fXIQ+AB2SFWLJZxinAEGjedWGhQ==","shasum":"f28ac5fd0c9c43276d7b4b362ff4de411ddb53e2","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-2.0.1.tgz","fileCount":4,"unpackedSize":3947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIFmULuCMK4G+VCCZTOgke3IyhMey+1qMN86MtSDodHAiEAn/f1MVS3dSfeP0wC85vmU5jd4mdRckKwMf4rLrKEmn8="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_2.0.1_1694682324268_0.723678889828977"},"_hasShrinkwrap":false},"2.0.2":{"name":"@putout/plugin-remove-useless-else","version":"2.0.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless else","homepage":"https://github.com/coderaiser/putout/tree/v31.8.5/packages/plugin-remove-useless-else#readme","main":"lib/remove-useless-else.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove-useless","plugin"],"devDependencies":{"@putout/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^19.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"4de6c92539bc864a7dec44416587a3506e6ac733","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-else@2.0.2","_nodeVersion":"20.5.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-o/Ae4V60kMoggGolhszBsC6T8YbvJhtzCX6vFj4LYFyMqX+gwUUoX3CRrbs15lRSZppmQB3NKZp/DHAXHqWNMg==","shasum":"aa86ab4e81f8711b638a46ad50b3d9815f7e2272","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-else/-/plugin-remove-useless-else-2.0.2.tgz","fileCount":4,"unpackedSize":4045,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDWSXVmv2cPFaMUldz3SzR9hYupl8Ir6daV0GuczADRAIhAKUOCKhEQqjPjNUDzEpoEHcLfPXZxsIO/4I8owH320nz"}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-else_2.0.2_1694682355780_0.13813818925116195"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-14T14:03:04.927Z","1.0.0":"2022-03-14T14:03:05.122Z","modified":"2023-09-14T09:05:56.124Z","1.0.1":"2022-03-14T14:04:56.820Z","1.1.0":"2022-03-27T20:56:44.451Z","2.0.0":"2023-05-24T15:07:18.912Z","2.0.1":"2023-09-14T09:05:24.461Z","2.0.2":"2023-09-14T09:05:55.945Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"🐊Putout plugin adds ability to remove useless else","homepage":"https://github.com/coderaiser/putout/tree/v31.8.5/packages/plugin-remove-useless-else#readme","keywords":["putout","putout-plugin","putout-plugin-remove","putout-plugin-remove-useless","plugin"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-remove-useless-else [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-else.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-else\"npm\"\n\n> You can skip the `else` block if your `if` block always executes a `return` statement, it makes code a lot easier to read.\n>\n> (c) [no else return](https://www.samanthaming.com/tidbits/23-no-else-return/)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to remove useless `else`. Merged to [`@putout/plugin-conditions`](https://www.npmjs.com/package/@putout/plugin-conditions).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-else\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-else\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nif (x)\n    return;\nelse\n    console.log();\n```\n\n## ✅ Example of correct code\n\n```js\nif (x)\n    return;\n\nconsole.log();\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}