{"name":"@putout/plugin-putout-config","version":"1.1.1","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":"^7.6.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.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.1.1","_nodeVersion":"16.4.2","_npmVersion":"7.12.0","dist":{"integrity":"sha512-IqbCO/Ww37ivE4jdryE6TdxzH6egnv8Wj2aPsiBjwWav78P1Ns4VuJmMtgAEdv5J7nuAl+SxPJNUMKhBdzhVTA==","shasum":"95816e7c6f56d09d48c49f586d65326da4d4d665","tarball":"http://registry-npm.ywwl.com/@putout/plugin-putout-config/download/@putout/plugin-putout-config-1.1.1.tgz","fileCount":5,"unpackedSize":3955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg45eXCRA9TVsSAnZWagAAiuIP/j8m/OMTAV/DCdQpkjHW\nBu9whnrXXFAMbz+BIYVWhmedyFHC6VTSNkVXc42Qee0ZQBblP0+7K0zKQhM3\nnE0yMld15oHI8b+47XBZp0bZEi6wY/pmlfRQU4qv4lsjNNlEVmtLG6jUjBml\n65t1CZop9sfa8JMReOEJcl1RfmaafycFk6+5NtN9CKIdieli2skHhC8uxPGo\nyfo0EPpNaR12jS2YDL4bGTi2OG7FUV0GJ0GMQRuckhIjZEkFzmTLcrwPh2FH\nnDXbzJXdzm5TdNPhEY97v16qSpOUctRU3dYQRn7/u0btgOlSKBJetkfWN+Ng\n5i2uzzYfQu0ejLNKNZ/97BLxwftiKWXSqAW5HLydjXj3lSX8TolqvtzWW0iZ\ncf/wPAQBxctpk8gLQ0mkBzDCDk3Hvusrdid2d/xrUK9sXugpX+TU3XXnuI+6\nW5SB/GvqLR+hLwFWZqXZmhYiPrmrHJ0V3bzp4fV1zsa8fxqQOK1Ws4lLkPlz\nmcRQ96mxky3i5uEmJSFRR0BCGpK8p9lbLFtTP2sLdk/sda6O/hhYuKjBg1+Y\njOLchky4h2PCg+P43PBWlf72mDt7diGZpdBYMgE7PIRxYDlOhiG7Lw8RPv+u\niUV9DopIVKiJ5C51aFLwGRaEue8BxkJvjudDgJHGA14Qddi6nbv0oMjbVeTt\nIxD5\r\n=Y4el\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9RzQCvj4AkZJLxiKoVoFTv0enoiD9TLUAIb4dK5xqKgIgIZTdohfpMtc3AWOgz9TNyeLGrSvd83OQ1JlwtXCKAzw="}],"size":1935,"noattachment":false,"key":"/@putout/plugin-putout-config/-/@putout/plugin-putout-config-1.1.1.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.1.1_1625528215414_0.6704766002246505"},"_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":1625528215525,"_cnpm_publish_time":1625528215525,"dist-tags":{"latest":"12.3.1"}}