{"_id":"@chancedigital/wp-prettier","_rev":"1-2c617ac24873f1c91e63848dd5ef923d","name":"@chancedigital/wp-prettier","dist-tags":{"latest":"1.19.1"},"versions":{"1.19.1":{"name":"@chancedigital/wp-prettier","version":"1.19.1","description":"Prettier is an opinionated code formatter","bin":{"prettier":"./bin-prettier.js"},"repository":{"type":"git","url":"git+https://github.com/chancedigital/wp-prettier.git"},"homepage":"https://prettier.io","author":{"name":"James Long"},"license":"MIT","main":"./index.js","engines":{"node":">=4"},"scripts":{"prepublishOnly":"node -e \"assert.equal(require('.').version, require('..').version)\""},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/chancedigital/wp-prettier/issues"},"_id":"@chancedigital/wp-prettier@1.19.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-MsDiK0BC4K325RFckC/zhoV/gPXdtN5Pe4edaJlqOu03puD0m9PZJhdfCZvs49jnkuHQxG7BatGN3dwvL8SawA==","shasum":"affafdca3d9730a5d7e6f8c2fe85f65fa6200a66","tarball":"https://registry.npmjs.org/@chancedigital/wp-prettier/-/wp-prettier-1.19.1.tgz","fileCount":18,"unpackedSize":9583382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdx067CRA9TVsSAnZWagAAiNkP/iG81ZH+KbsywzJzyFtA\nSYwKFQc2E1ljrFixCInzH75IhdnYjQ3UD2OVN/ebx1RpBnbTK3MNDdvwaK0u\nCNEVOi92QlO5gPYy0tHasKSJbR44HZKJoMXwsjWjTXm47yf4TRqEvNi8CXKn\nSNRWhiYwBVp2shQpw0CSKISjNoEj9hsEWAWwu1oVXJOcrKhk6y7lJsxPbhqn\n2mNSd2vPI3Wmv50GDW1A1my09FYlXBWJ5F0idUqF5huj6/Y2qD2Y2SBvdj9G\nH4z0DhrzhZdX19yfGmeN5Vi23YWrK4mLGAwtEG7NBBBrSGXm/dTIBJJMhy2o\n/06G93WQ2s5gehxKYE7S85w5ZkHUS5Horzdu7XvVOxwozL4ORrZdpSsICHKi\nWXSOs1C+Ya5HNod0bUV4dMTsLXBTgmb/LkNXZM/0Wkrsmzpcc94E91Mbn5d1\njOW5U9HZfMe0n/gC+V99tjtTj/K4tIKtV/TqSZoJgJGUg87ID2c2HHxbLih+\ns3viOv7NTJ66FxPujE75Y/YJ9CTjfsQ7XNYHI7C2XNkNHFxyD3PZs4ecgfNO\n1UoSsViVCYHOwOZGR4zLwzbQ2B4i36bkamg6l+viVWZ0Ip82ywrxjsMNKq2I\nu31jS6Q0llNosOA5KM17AP/kw0A+KRCAYJFNnrmu+kXWHrxfvxn7xMadTKQt\n+2RB\r\n=bHFb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwhiQoZxLrBtPi5n7ew5PdOlX9dAdq3gXrfwQrHQAdyAIhALGYU2juYWml6spcWIVHD5l5SZmCozsOvPuLZamfx0Pw"}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wp-prettier_1.19.1_1573342907033_0.41278726866701354"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-09T23:41:46.940Z","1.19.1":"2019-11-09T23:41:47.211Z","modified":"2022-04-04T22:30:05.951Z"},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"description":"Prettier is an opinionated code formatter","homepage":"https://prettier.io","repository":{"type":"git","url":"git+https://github.com/chancedigital/wp-prettier.git"},"author":{"name":"James Long"},"bugs":{"url":"https://github.com/chancedigital/wp-prettier/issues"},"license":"MIT","readme":"![Prettier Banner](https://raw.githubusercontent.com/prettier/prettier-logo/master/images/prettier-banner-light.png)\n\n<h2 align=\"center\">Opinionated Code Formatter</h2>\n\n<p align=\"center\">\n  <em>\n    JavaScript\n    · TypeScript\n    · Flow\n    · JSX\n    · JSON\n  </em>\n  <br />\n  <em>\n    CSS\n    · SCSS\n    · Less\n  </em>\n  <br />\n  <em>\n    HTML\n    · Vue\n    · Angular\n  </em>\n  <br />\n  <em>\n    GraphQL\n    · Markdown\n    · YAML\n  </em>\n  <br />\n  <em>\n    <a href=\"https://prettier.io/docs/en/plugins.html\">\n      Your favorite language?\n    </a>\n  </em>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://dev.azure.com/prettier/prettier/_build/latest?definitionId=5\">\n    <img alt=\"Azure Pipelines Build Status\" src=\"https://img.shields.io/azure-devops/build/prettier/79013671-677c-4846-a6d8-3050d40e21c0/5.svg?style=flat-square&label=build&branchName=master\"></a>\n  <a href=\"https://codecov.io/gh/prettier/prettier\">\n    <img alt=\"Codecov Coverage Status\" src=\"https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square\"></a>\n  <a href=\"https://twitter.com/acdlite/status/974390255393505280\">\n    <img alt=\"Blazing Fast\" src=\"https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square\"></a>\n  <br/>\n  <a href=\"https://www.npmjs.com/package/prettier\">\n    <img alt=\"npm version\" src=\"https://img.shields.io/npm/v/prettier.svg?style=flat-square\"></a>\n  <a href=\"https://www.npmjs.com/package/prettier\">\n    <img alt=\"weekly downloads from npm\" src=\"https://img.shields.io/npm/dw/prettier.svg?style=flat-square\"></a>\n  <a href=\"#badge\">\n    <img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n  <a href=\"https://gitter.im/jlongster/prettier\">\n    <img alt=\"Chat on Gitter\" src=\"https://img.shields.io/gitter/room/jlongster/prettier.svg?style=flat-square\"></a>\n  <a href=\"https://twitter.com/PrettierCode\">\n    <img alt=\"Follow Prettier on Twitter\" src=\"https://img.shields.io/twitter/follow/prettiercode.svg?label=follow+prettier&style=flat-square\"></a>\n</p>\n\n## WordPress Prettier\nThis is a fork ([of a fork](https://github.com/Automattic/wp-prettier)) of Prettier that adds a new command line option `--paren-spacing` which inserts many extra spaces inside parentheses, the way how projects in the WordPress ecosystem (Calypso, Gutenberg, etc.) like to format their code.\nIn order to install a version based on a particular upstream version (like 1.x.x), run\n```sh\nnpm i --save-dev \"git+https://github.com/chancedigital/wp-prettier.git#wp-prettier-1.x.x\"\n```\nTo figure out what the latest supported version of the fork is, look at the default branch of this repository.\nThe original readme continues unchanged below:\n\n## Intro\n\nPrettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.\n\n### Input\n\n<!-- prettier-ignore -->\n```js\nfoo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());\n```\n\n### Output\n\n```js\nfoo(\n  reallyLongArg(),\n  omgSoManyParameters(),\n  IShouldRefactorThis(),\n  isThereSeriouslyAnotherOne()\n);\n```\n\nPrettier can be run [in your editor](http://prettier.io/docs/en/editors.html) on-save, in a [pre-commit hook](https://prettier.io/docs/en/precommit.html), or in [CI environments](https://prettier.io/docs/en/cli.html#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!\n\n---\n\n**[Documentation](https://prettier.io/docs/en/)**\n\n<!-- prettier-ignore -->\n[Install](https://prettier.io/docs/en/install.html) ·\n[Options](https://prettier.io/docs/en/options.html) ·\n[CLI](https://prettier.io/docs/en/cli.html) ·\n[API](https://prettier.io/docs/en/api.html)\n\n**[Playground](https://prettier.io/playground/)**\n\n---\n\n## Badge\n\nShow the world you're using _Prettier_ → [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\n```md\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","readmeFilename":"README.md"}