{"name":"@putout/plugin-putout-config","version":"1.2.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","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","plugin","putout","config"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^8.0.0-beta.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^9.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.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.2.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-X4/9Zk035oW23cgsAOP9ODcZkxYg6fky2pp76rw1weXaTiOPGDfsnBBQUllhRjdZ2uKAwpPFsCaeFEIxGG6sRw==","shasum":"3a43c92a52575829375615ce729cf80d6296593d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-putout-config/download/@putout/plugin-putout-config-1.2.0.tgz","fileCount":6,"unpackedSize":4992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPNGjCRA9TVsSAnZWagAA2mAQAIzl2KaMlbD8tebK8Vfh\n7nIufj9jbQMggfo7DP2qpb3Fs1pAtKSu++zF/9xp4yEXFo4alX5XCxR+Uc7I\nZ0KCh9MWv0LZxjDUQ3jyDewDFJ28FPJRDDuUcUc6JU+FNsjSJsIs2WPZQD0H\nPAB7n8s0mGZc7lRRQPDQmP5ysVnfBKoEysIull00dGm6oLJ8s7yt35znd3dT\nNleAy3jPoCXnx8OZXWMsZt9GAYLDCLN6cakCd9l3UcWfxHrYqa+jIhWptzVn\nFKso+sMh5pCdi0I5YLUycftFczdYKG/PeIgSNEEfLb8wmvhNENPEiABE5KLk\noIzefCsDg7tfAbVfemMBOO0AbAkmt0wQPgyganTmf8gnBTd87B/HWmh67EnJ\ney7LZ1pbDawxrhO6NkOoRa/zaa1xgccFYqaWydFWC9Z52tTSCIFR6TUTtI35\nx6Tcn4BbNC9jwYzC739L8fGkFWKsKfbTmaPua0Z5Obop43v+rQW/qxXxvCwY\nOER5dkErvH3tlYywP7VrFkAtYS+L8Db+Bk+Pu7sWn5V44GMg4LPguGA9TXYh\nSmyVi4pMp1gouS7Bvl6AXwrYGy0WIY+hPGqqAfC0jYQfx4U4kQTs6Uc2YZGH\nhq1MyISOzs0+tKBPTD9etJOgSko95+plCxx2+7U1P3HDfDeGlbILgbFHVIUB\nKopJ\r\n=c4oT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9MKx5juzfVOxsoUFmK/FIKEJdvJ8TgIVO2CJPTSgGOwIhAKnIueOjOpZG69MGJMyULh5u8MbU8EegZ/7QFusXYaT8"}],"size":2224,"noattachment":false,"key":"/@putout/plugin-putout-config/-/@putout/plugin-putout-config-1.2.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.2.0_1631375779511_0.36510620110252145"},"_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":1631375779678,"_cnpm_publish_time":1631375779678,"dist-tags":{"latest":"12.3.1"}}