{"_id":"eslint-plugin-no-empty-blocks","_rev":"8-cdc2eff29ea711483d6be085a11ff144","name":"eslint-plugin-no-empty-blocks","description":"An extended version of the `no-empty` rule that adds an option to allow empty catch blocks.","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"eslint-plugin-no-empty-blocks","version":"0.0.1","description":"An extended version of the `no-empty` rule that adds an option to allow empty catch blocks.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/lib/rules/"},"repository":{"type":"git","url":"git://github.com/alex-shnayder/eslint-plugin-no-empty-blocks.git"},"keywords":["eslint","eslintplugin","no-empty","catch"],"author":{"name":"Alex Shnayder","email":"alex@shnayder.pro"},"license":"MIT","peerDependencies":{"eslint":">=0.8.0"},"devDependencies":{"eslint":"^0.22.0","eslint-tester":"^0.7.0","mocha":"^2.2.5"},"gitHead":"4bfc9d405d930b3ed41946d4a0435eb68b1dea02","bugs":{"url":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks/issues"},"homepage":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks#readme","_id":"eslint-plugin-no-empty-blocks@0.0.1","_shasum":"f74290119020b15bc872434cb883cb581bf5558f","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.36","_npmUser":{"name":"alex-shnayder","email":"alex@shnayder.pro"},"dist":{"shasum":"f74290119020b15bc872434cb883cb581bf5558f","tarball":"https://registry.npmjs.org/eslint-plugin-no-empty-blocks/-/eslint-plugin-no-empty-blocks-0.0.1.tgz","integrity":"sha512-gIIltVbPlR2EDezHZwYnlf0JyfIpATeaL4As9uhgDpA3drKUHFJEWkoHkcVZdN8NqLClNGuL1sWHN/CjuPdMtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQxR86Vg0LlOas6XA8CJ8MiFdd4j9Co75ATkneCLbgPgIgb9BTR1LVoiZHjgWp+VDsTMOzk9PM0ahMiW1B/TSbhKU="}]},"maintainers":[{"name":"alex-shnayder","email":"alex@shnayder.pro"}],"deprecated":"ESLint's native no-empty rule already supports the allowEmptyCatch option."},"0.0.2":{"name":"eslint-plugin-no-empty-blocks","version":"0.0.2","description":"An extended version of the `no-empty` rule that adds an option to allow empty catch blocks.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/lib/rules/"},"repository":{"type":"git","url":"git://github.com/alex-shnayder/eslint-plugin-no-empty-blocks.git"},"keywords":["eslint","eslintplugin","no-empty","catch"],"author":{"name":"Alex Shnayder","email":"alex@shnayder.pro"},"license":"MIT","peerDependencies":{"eslint":">=0.8.0"},"devDependencies":{"eslint":"^0.22.0","eslint-tester":"^0.7.0","mocha":"^2.2.5"},"gitHead":"bf53dccd32a510421bf5102a81194fe85a451775","bugs":{"url":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks/issues"},"homepage":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks#readme","_id":"eslint-plugin-no-empty-blocks@0.0.2","_shasum":"cdf7a1fbd10508387b7e6a36ee4c9b9b23b109b9","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.36","_npmUser":{"name":"alex-shnayder","email":"alex@shnayder.pro"},"dist":{"shasum":"cdf7a1fbd10508387b7e6a36ee4c9b9b23b109b9","tarball":"https://registry.npmjs.org/eslint-plugin-no-empty-blocks/-/eslint-plugin-no-empty-blocks-0.0.2.tgz","integrity":"sha512-wjgc1qVlFsV30cHSuic2Z59uh/cLluHVFaI1uYc7fSzAy13x+ZT36GEJSyE1U8rDYvhkPAzGDhmhGsrddCCULA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNhKUVSmEgYKvzKs0oduK4MacsGD1r9c6powHuKzGvPAiBvcCOLR/LsIvX9pEMZn5hTUw38zrRb6ghmKxQnOR7w5w=="}]},"maintainers":[{"name":"alex-shnayder","email":"alex@shnayder.pro"}],"deprecated":"ESLint's native no-empty rule already supports the allowEmptyCatch option."}},"readme":"# eslint-plugin-no-empty-blocks\n\nAn [ESLint](http://eslint.org/) rule for eliminating empty block statements. It is an extended version of the [`no-empty`](http://eslint.org/docs/rules/no-empty) rule that allows empty catch blocks.\n\n## Why Use It\n\nESLint has the built-in `no-empty` rule that is aimed at eliminating empty block statements. It throws a warning at empty catch blocks such as this one:\n\n```javascript\ntry {\n  doSomething();\n} catch(e) {}\n```\n\nBut this technique can be useful for ignoring errors, and this plugin provides an option to allow it.\n\n## Usage\n\nAdd `no-empty-blocks` to the `plugins` section of your `.eslintrc`:\n\n```json\n{\n  \"plugins\": [\n    \"no-empty-blocks\"\n  ]\n}\n```\n\nTurn off the `no-empty` rule:\n\n```json\n{\n  \"rules\": {\n    \"no-empty\": 0\n  }\n}\n```\n","maintainers":[{"email":"adtomsk@gmail.com","name":"axtgr"}],"time":{"modified":"2022-06-17T20:36:36.002Z","created":"2015-06-07T04:51:53.344Z","0.0.1":"2015-06-07T04:51:53.344Z","0.0.2":"2015-06-07T05:18:56.067Z"},"homepage":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks#readme","keywords":["eslint","eslintplugin","no-empty","catch"],"repository":{"type":"git","url":"git://github.com/alex-shnayder/eslint-plugin-no-empty-blocks.git"},"author":{"name":"Alex Shnayder","email":"alex@shnayder.pro"},"bugs":{"url":"https://github.com/alex-shnayder/eslint-plugin-no-empty-blocks/issues"},"license":"MIT","readmeFilename":"README.md"}