{"name":"@putout/plugin-putout-config","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin helps to maintain putout config","homepage":"http://github.com/coderaiser/putout","main":"lib/index.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"},"nyc":{"exclude":["*/**/*.spec.js","test"]},"dependencies":{},"keywords":["putout","putout-plugin","plugin","putout","config"],"devDependencies":{"@putout/test":"^3.0.0","coveralls":"^3.0.0","eslint":"^7.6.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^6.0.0","lerna":"^3.8.5","madrun":"^8.0.1","nodemon":"^2.0.1","nyc":"^15.0.1"},"peerDependencies":{"putout":">=12"},"license":"MIT","engines":{"node":">=12"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-putout-config@1.0.0","_nodeVersion":"15.3.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-2F/gE6bDIrCr9hbVv8mcNZ6e8fabWD9AuPjmwefyXQvf+hH3awYqVyKVvuRJecAtWT0FwoedDf41lxIcTc24gA==","shasum":"9fabee846bc34cf6923d1bec8a034881c8549215","tarball":"http://registry-npm.ywwl.com/@putout/plugin-putout-config/download/@putout/plugin-putout-config-1.0.0.tgz","fileCount":5,"unpackedSize":4002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0JZ/CRA9TVsSAnZWagAAViEP/1KDGVI3/41bRddZ9kV4\nZyrhQZrCoyaKSVJYAtO5k7JgsLOPHevzNnKV6UtEd/Fj19fEPKlYdD+c8mFc\niwXzi7fwMwt5AsZSE4vcXSBKswQtJxeCEnl0D5TX0V0h/hW5ZyUpb5K5x9Fp\n5xKBEm9U8BJHW/8kFY3Hd5zbQNcJcTid2zFfQd6DJ7IfJWXUz7zZArSBtbdS\nYtiz+ash/wvoAi0eMKidcINMlJDKvTswNu5RkHDyUJsLAnM8k2AKVAAWA1GD\ncvLFKGC1dTtcagNhFoKV5fQRTPAu58xLBQs3TU2Qurl7e7lBLq/TQHLrb22e\nMzIbQVkwgR2Y0M9SnnHII+7abpQYPRvkAB67BX8jvAi4xtpUdtzkrjQPc5Z6\nh/SPP7LS5LGFPs1KY9BQ/YL4Xst6ieTPRIRvBm7qMZCnxDKPiL6z3r74uxCk\nD+4u51VNJDSDERUZGagpsdgiCFqkHJmHwjfY5JVe72vI9c+dHeR21FbVyE/U\nMNXHA7xQZYIFVMSIQDsr/9gmBuNrubEErv2WkxltyObFXMrF9j+fRLz7ifhO\nqqoRkr6CPkKU4T2A7JVOJTHh4HrO1TFdcDYilVA6TH1U3grz1z5mP981QHR9\nV+U9nYyEy+JeHPDrCiEC+ZGnXEcDMB7YINiDsrW2WyKvGsUks80MAuINrXcA\nYloB\r\n=gQcX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhwjnQYoKzqXvOBKqY5iyQx76a195ov06RyPlL27dBoAIhALyhIL5FTxquuy+3CFgQfU7hRzACLObtSz4pqWRXzO4t"}],"size":1988,"noattachment":false,"key":"/@putout/plugin-putout-config/-/@putout/plugin-putout-config-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","tmp":"tmp/plugin-putout-config_1.0.0_1607505535323_0.389496631299838"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-putout-config [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-putout-config.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-putout-config\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin helps with 🐊[**Putout Config**](https://github.com/coderaiser/putout#-configuration).\n\n## Install\n\n```\nnpm i @putout/plugin-putout-config -D\n```\n\n## Rules\n\n```json\n{\n    \"rules\": {\n        \"putout-config/convert-boolean-to-string\": \"on\",\n        \"putout-config/move-formatter-up\": \"on\",\n        \"putout-config/remove-empty\": \"on\"\n    }\n}\n```\n\n## convert-boolean-to-string\n\n### ❌ Example of incorrect code\n\n```json\n{\n    \"rules\": {\n        \"remove-unused-variables\": true,\n        \"remove-debugger\": false\n    }\n}\n```\n\n### ✅ Example of correct code\n\n```json\n{\n    \"rules\": {\n        \"remove-unused-variables\": \"on\",\n        \"remove-debugger\": \"off\"\n    }\n}\n```\n\n## move-formatter-up\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/48ce05b358a9118250acdc0b35df0fc8/50aeb680193ab4cd5d247e098ff90be8d4092111).\n\n### ❌ Example of incorrect code\n\n```json\n{\n    \"parser\": \"babel\",\n    \"rules\": {\n        \"remove-unused-variables\": \"off\"\n    },\n    \"formatter\": \"progress-bar\"\n}\n```\n\n### ✅ Example of correct code\n\n```json\n{\n    \"parser\": \"babel\",\n    \"formatter\": \"progress-bar\",\n    \"rules\": {\n        \"remove-unused-variables\": \"off\"\n    }\n}\n```\n\n## remove-empty\n\n### ❌ Example of incorrect code\n\n```json\n{\n    \"rules\": {},\n    \"plugins\": [],\n    \"match\": {\n        \"*.js\": {\n            \"remove-unused-variables\": \"off\"\n        }\n    }\n}\n```\n\n### ✅ Example of correct code\n\n```json\n{\n    \"match\": {\n        \"*.js\": {\n            \"remove-unused-variables\": \"off\"\n        }\n    }\n}\n```\n\n## License\n\nMIT\n","publish_time":1607505535512,"_cnpm_publish_time":1607505535512,"dist-tags":{"latest":"12.3.1"}}