{"name":"@putout/plugin-strict-mode","version":"1.2.3","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove console.log calls","homepage":"http://github.com/coderaiser/putout","main":"lib/strict-mode.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","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{"fullstore":"^2.0.2"},"keywords":["putout","putout-plugin","plugin","strict-mode"],"devDependencies":{"@putout/test":"^1.0.0","coveralls":"^3.0.0","eslint":"^6.2.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0","lerna":"^3.8.5","madrun":"^3.0.0","nodemon":"^1.14.12","nyc":"^14.0.0","redrun":"^7.0.2","supertape":"^1.0.3"},"peerDependencies":{"putout":">=4.31"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-strict-mode@1.2.3","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-eVTcSATlrTXbzxgHxosUznTjFB42l3bwPTy208PfgD9aZ6NbqZas7rDycK+j6X8G+VBbRTCHxxrFFRL/K61Jxg==","shasum":"16ca1f8ba7566a6331a2103f7ad72c4c982a2cbb","tarball":"http://registry-npm.ywwl.com/@putout/plugin-strict-mode/download/@putout/plugin-strict-mode-1.2.3.tgz","fileCount":6,"unpackedSize":5578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoezrCRA9TVsSAnZWagAAaE4QAJ8XTrhcZgUwo6pQ657B\n3Lm9dZqvAue9NfQDTYXdnZSya0HoX9k1cLJ0szBmQ+Lx7h7Rw/eN/pqbev1/\ncMOi9bHce4Y4uLAyn7229/Tbz4493jZoziydspVKnhUK1p4GS/sOmY6LRA1j\nEFg6H6S1Nb5HQtjb9kbFnV6ndrbQq5dTEzpq/TeBflPy7mjri8moV0tTMwMc\n9g4h96vRTgXMJ/WNbWerfhXdW5q7l/K0OiyqaL6mH/UfN/OIkaipMN1pkXnn\n33+TigvyZIdQDF8E8uHsZcGT4LWChj4/o/MlF9Bfww+FO7fC7AH33YFd/nJ/\ncFnMxXVL/A53SuFdM4Id2WY0QRnNMzlJO+1b//uOrktn4fD+7+RuWu9bpMOx\nCu5g25A3+XC+5g/aVBDM/b7eKsiVYOhjU1HDOlGVX1uHbtfAUdDOYCWQQOvd\nille43q3s5PU+JGI0Dvey1YFTAgK95ckUGuWuZUoc9/AzKohx1BniyG76xoz\nGVYHr3NO4urU5UAoeH380rZXYgCXo9y3+Azxpr1Omx61og8EWoJJ5H64Ls8v\nUg5N9SWkZvH8Irv5Soit28PYQHQW8+EDBcLAC3hhbFK4wGVo1gwTlGHMjQNo\nL8+A3Q9mk/7MYPumeh5TgTYSHzu2P/SweahVPGB/MHxkgZNcZgoD3xUDXs1b\nAebi\r\n=b6I8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDR4kS+EGloFWii49TSpoQ2a1ziqexgstPWevHfyjUmNAiAlogrwTsyk+6AqLHYH7EYoI2l4HzMuj9bFq8mPRaV9eg=="}],"size":2395,"noattachment":false,"key":"/@putout/plugin-strict-mode/-/@putout/plugin-strict-mode-1.2.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-strict-mode_1.2.3_1570893034539_0.0022807357927612237"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-strict-mode [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-strict-mode.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-strict-mode \"npm\"\n\n> **Strict mode** makes several changes to normal **JavaScript** semantics:\n>\n> - Eliminates some **JavaScript** silent errors by changing them to throw errors.\n> - Fixes mistakes that make it difficult for **JavaScript** engines to perform optimizations: strict mode code can sometimes be made to run faster than identical code that's not strict mode.\n> - Prohibits some syntax likely to be defined in future versions of **ECMAScript**.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to add **strict mode** to **CommonJS**, and remove from **ESM**, where it enabled by default. Moved to [`@putout/plugin-nodejs`](https://www.npmjs.com/package/@putout/plugin-nodejs).\n\n## Install\n\n```\nnpm i @putout/plugin-strict-mode -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"strict-mode/add-missing\": \"on\",\n        \"strict-mode/remove-useless\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\nESM:\n\n```js\n'strict mode';\n\nimport a from 'b';\n```\n\nCommonJS:\n\n```js\nconst a = require('b');\n```\n\n## ✅ Example of correct code\n\nESM:\n\n```js\nimport a from 'b';\n```\n\nCommonJS:\n\n```js\n'strict mode';\n\nconst a = require('b');\n```\n\n## License\n\nMIT\n","publish_time":1570893034711,"_cnpm_publish_time":1570893034711,"dist-tags":{"latest":"10.0.2"}}