{"name":"@putout/plugin-putout-config","version":"1.1.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":"^7.6.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.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.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-f0KlGKMKho4UMCh58tE6MHog49cg8v2I/9IPCSyzOVoO+Jf/9g1jIx1Tb4+Lok/O82AYZaXilTm+eTV9i6hfjw==","shasum":"d46355ddf29a651b30b84d1c75de06858a672bad","tarball":"http://registry-npm.ywwl.com/@putout/plugin-putout-config/download/@putout/plugin-putout-config-1.1.0.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\nwsFcBAEBCAAQBQJgnw5GCRA9TVsSAnZWagAA0ssP/iJAPQ6g6C9PmLBoTkxA\nd/7AXngZQNaaYk8M9b8uOUivs17WqpIoVb+poEYAzhUuQ5xWU9V+MB4wrwbQ\nI86jlazUY+ktIzCLV2KJsISGZ8b9Bch691bd4qZa5x7QSOyMHQlz/Qb/AOrm\nEcS88fdcFDDJmEq5CYrCJ0P6ie5SBTslhvTd7+rKfEnIc5tpv7fX3qaHNmKZ\nlf6jhiWmGv77NESmmVuwWXVAZUiXBar8FoRQJ0r+6+Bl9e9UxDOGOPgqAMfg\nwdSij15+SGPKRzzULNfY+f6Ey3VRUqWsx6dAkvLzifDo/bARc3iyDS27C921\nZWswspzOxGCaEBWOennvvSssKmkSoJJW0OkuYZgNzpKd/SSYr/4dAvGLv8EG\nQZIk7SzjqoNhpSTrgOOndS3zv4RxAcD/cXW1KZm7Kt8NYuhspfIZwe/zp0U2\nQ5dq7CzLuOHXb+8GbVAgt0KnLXW0EabcmOgD6z/Nvqx1iSKTzsJvqTxJ+N9p\nPqyVKLNF/obIb6z6NGr/GkVIMEOeRyJ9uZPhd5hisSh2i4J40+OIzvBLcIr+\nxJJspqJ+d8q2/xpF/7wif/gD77hiLdlq09MT4Z3hmEWerClWjO2Vk9thwkuh\naFQd0FFWsZKhP9vuJ/mAjJzrImSgmhbWn/e+IQZnBl5fB7SjOHUtc2viZKWW\nAqrL\r\n=Z7Ke\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgajoGXOngQPKLkrX6ZgK8mGI6qJRQ9gwE2zB1WK+ENAIgeYBuonm+8bprmwX8hyNQhc0nqF8YM0RH+xlsdZeBYjw="}],"size":1950,"noattachment":false,"key":"/@putout/plugin-putout-config/-/@putout/plugin-putout-config-1.1.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.1.0_1621036614486_0.8073654178365539"},"_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":1621036614675,"_cnpm_publish_time":1621036614675,"dist-tags":{"latest":"12.3.1"}}