{"name":"@putout/plugin-putout-config","version":"1.2.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":"^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.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-RPYO4LD4h83H9Ii0ldGr2g8c+2uD/SwFoe6oCksNj7BG1t5hkEoPV1ZqZMVyaKJ/S4VBo0n2vE+0xqkSrHNJpQ==","shasum":"ce35e14dca05085dccaa8fe48c759459993d718a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-putout-config/download/@putout/plugin-putout-config-1.2.1.tgz","fileCount":6,"unpackedSize":5028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPNYTCRA9TVsSAnZWagAA2vsP/0cirfEPC8DtM0PUmn4N\nVqvmaMvGJDbXGV92AhLaS666Gx3ZNbwTsxVP/7HeR3byC0xTLXOr3N23lPFc\nK2v7IVSRycB/MFJCvgqW9qDfa2e5WRkLPYxpV8uLfvTOX/6mVVWrn8jHViEe\ng353K9RtneysAWjfvoyzLBVQWV1FsZaCzElP0hA0sdTapa6mzCezWXq0mWMV\nzH8kxdu0ekjplmVXaLwS7xipwplpixZirl9HYIHo621qDKu2m/o4vwK0Zs/R\n96oyvOS+aIEbhUM4sSth9NsdUDqkZ36nwBzdoXcXb6sftoXnkoemFmFIaiqw\nC3zQp3H282tESwEHgI8uQ9cgRuTXDUuaeaSD1PPW360vPD8jkUVMb9b48aIR\nlIb9uJG7R3W/HBrpVAqqJeIG7mtajy5+Klc4Ikz3LaHD+ihNZLC9h4otyaLd\nX0ToE3xCfsZ1zBqgyDvBuPZI09ieyMknWiH+en7pyI5C9O5YXWE1lgjWPZq3\n2gMQYwMQS2NcDwKMm33mJmLLBxLu0I3o0mJrUOlMaPb2nqAx+x917MOP8K5o\n6q02nYoTf5ly1r4jdKzwvgaR1uuE7hte2sjdjMpN+vwPXYMeTpi6m7BXhzWp\nyhkd0hAcz8aLwDrw/xSkn5r0qqg0GpSba82vfgmusvfqx9f8ERVQnfz+474l\nd4eS\r\n=3Q1M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxyLZ66Tnz21Ik7BaQpdPxs76Ef9UT7isILsXRIAoluAiA8fZF9mPtOo+xLANmTl4fav0BHQZkTUY6Vq10nobcyGg=="}],"size":2232,"noattachment":false,"key":"/@putout/plugin-putout-config/-/@putout/plugin-putout-config-1.2.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.2.1_1631376915237_0.9719045419379957"},"_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":1631376915357,"_cnpm_publish_time":1631376915357,"dist-tags":{"latest":"12.3.1"}}