{"_id":"@agathongroup/prettier-config","_rev":"2-1a42021da27a9d757c9d488f330a4e90","name":"@agathongroup/prettier-config","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agathongroup/prettier-config","version":"1.0.0","description":"Agathon's Prettier Config","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Agathon Group","url":"https://www.agathongroup.com"},"license":"ISC","bugs":{"url":"https://github.com/agathongroup/prettier-config/issues"},"homepage":"https://github.com/agathongroup/prettier-config#readme","dependencies":{"prettier":"^1.x.x"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/agathongroup/prettier-config.git"},"gitHead":"6ec153448654cfcd1eeee74a2082c2f5a4b40e2b","_id":"@agathongroup/prettier-config@1.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-oBuNXYFZSRR6Ryf4fA4TJH2R/yYNPk/7j2lXFKtEEs1dgPdPShD3cYPK1Uo6tKtSqCGoNzbvvVYxkQ27SSk0xQ==","shasum":"40f6e4472b6e49fd22e485e1c8c73201b1de6555","tarball":"https://registry.npmjs.org/@agathongroup/prettier-config/-/prettier-config-1.0.0.tgz","fileCount":4,"unpackedSize":2805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnH3mCRA9TVsSAnZWagAA35QQAI69NQCCc3y90jJwLZ+H\nysb7ii8Em8E2Yfxwno1ILvQ0Z61iABUJvCN1DnSEqJFzntgLv4HzTmg5SPBA\n4mdKgKtUFbKx5+NM3d4/38Km4gNjPHICp9hc67kgztJEeXl2dOGWgq9l+G4g\nCJ8YB/cJxuNL727p1s0Pqr5yKIcDPpFcdg6ZwaiRdKE8UB7HwFdrubKA0bN6\niDMZscIbzzY7v5szMY2oUGBRi6zdOJu4kW76ApGVsnqYFrbwm1hT6ye/1p4p\n+Qkr8onJ6MA1nJvhwd6Pny6Mk1XaiDVgmgBUy45s8ZqJ7i9wFIyQyIWZOFk6\neTPy1cgPjWwhEd/DKOcA+phXg3yueKX3zd64iWj7deG6aIYzbxtVvIUX18Z+\nqHw5s87m3rzcLo8m71221+zNpiO+jZZlVvag2ptGTSfurSZNv/C35RckcKJ6\n8d1dHiwyElsG3bXOIUVN5kKUmxJrU2wCavm6GnZs6q0H7ocCDKt5BMauaxgM\nc2AhCPs82Z8NHWJuD/1Hxx0MAVQ0ZCJP5fmpPGhzChec/O7L2xyEmmHNH9iZ\nEdpcCBnjRAK3V/b+EykEeT5MYdUa9+7wymlMi8YoTsRalsxMliXPlq6LkYq+\nPZzVug1yLOn/oGHthg+1x29OwYocdPSpi3GNrYP3JMwU4oiV9OpWnv0onDlg\n7EtU\r\n=dWQ2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKX3eWZBpPkzgNK+WkwU3dw1s6gCz/ASanTGXD646wLAIhAL99xEQJZ+EB2vKn6nCkDv/dNWk3dLOt+pvX8mqjTBht"}]},"maintainers":[{"name":"agathondev","email":"developers@agathongroup.com"}],"_npmUser":{"name":"agathondev","email":"developers@agathongroup.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-config_1.0.0_1604091365934_0.11614201034438287"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agathongroup/prettier-config","version":"1.0.1","description":"Agathon's Prettier Config","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Agathon Group","url":"https://www.agathongroup.com"},"license":"ISC","bugs":{"url":"https://github.com/agathongroup/prettier-config/issues"},"homepage":"https://github.com/agathongroup/prettier-config#readme","dependencies":{"prettier":"^1.x.x"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/agathongroup/prettier-config.git"},"gitHead":"0dddee3dab62381e600edad5ee8ecf996cb54deb","_id":"@agathongroup/prettier-config@1.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-4G37j/0bbswfmUFtiyLD/SN9KNN1hRQDkMzH9OqRCUerx5qEdCTIBrADAAE7+m17B8A+cbnpOXqtxFb5dtN8RQ==","shasum":"14fc191dfda37942bacb9726e7ce199dc9b489aa","tarball":"https://registry.npmjs.org/@agathongroup/prettier-config/-/prettier-config-1.0.1.tgz","fileCount":4,"unpackedSize":2794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn1BOCRA9TVsSAnZWagAAn+cP/Rtc4o8at+JV5PsqEY5R\nwOSBcG073EWVhKoLqhwvID57M0ZNdNCbQ9GxA/ArhgK9gNOvNa5dNSbwMXpf\nb62Cu/1DiwM5itpE6HgCNg3S+XlzDniueqPabcMBGXC04hLtjjBwyGDDxIfA\nN/7XRSdZ3uzPeF4UqxZg0VYgHNCiZUP/zBdDyaDB7769syyMvdoK2PgWKYFA\ndC/3RT99VGTGgwBJjjEETmtHN5ZYzXVeQtJlEEKTHILGc3A5ZrrMOkX9OKhm\nLIGScj69xghSR5BMuGjnVXKbbxr11gBbYciYAUwDgIri06ubLvjvVIWyGdmo\nRoQsHIHoTWZ9wZ1jHrXzoUQqUoS/8L1X1fywhCwyjYV9DijMczlvj0U4yUun\n0DtaewQ6Ae1j6uvWgo11ouYaakFsYDuW7vY7ScmcwVTsAk+CTUoCWkA5dbVu\nmviaXKTJOBuJgOFV3sBDHMEptPpbcsYw9ehFd+lS6Ia/dD2u9C9uZcy5N8BF\nKidZSEnf269cGWBQsikT1Q3e7FbQqoQA/IlpPFQ36Z9LxRQ3f+ZTd4X8OxbA\njCebBw08mXyZRWR01cGGuikrRNABgS2ikL2Fop7dhZU+L3IB2fAOVpBEmlbs\nd5TxaenRrM38BTBBel+VAJi9lF128YO7k5Tbq5fzguRHh9/kfV0vt157dj49\ncgtB\r\n=rMcM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3DMRb2YTtssFSQh4DCqPJdq0OQzx7mvXt/kuHpjS1eAiBK/IKqV6Nq6AomNKLCuRZ9Ks3i0gG8dNQuUKI6dFumuw=="}]},"maintainers":[{"name":"agathondev","email":"developers@agathongroup.com"}],"_npmUser":{"name":"agathondev","email":"developers@agathongroup.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-config_1.0.1_1604276302342_0.006139580091521379"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-30T20:56:05.665Z","1.0.0":"2020-10-30T20:56:06.169Z","modified":"2022-04-04T11:54:00.066Z","1.0.1":"2020-11-02T00:18:22.435Z"},"maintainers":[{"name":"agathondev","email":"developers@agathongroup.com"}],"description":"Agathon's Prettier Config","homepage":"https://github.com/agathongroup/prettier-config#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/agathongroup/prettier-config.git"},"author":{"name":"Agathon Group","url":"https://www.agathongroup.com"},"bugs":{"url":"https://github.com/agathongroup/prettier-config/issues"},"license":"ISC","readme":"# Agathon's [prettier](https://prettier.io) configuration\n\n## Installation\n\n**1. Install dependencies:**\n\n```sh\nyarn add --dev @agathongroup/prettier-config prettier\n```\n\n**2. Create a `prettier.config.js` file at the root of your project and add the following:**\n\n```js\nmodule.exports = require('@agathongroup/prettier-config');\n```\n\n## [Editor Integration](https://prettier.io/docs/en/editors.html)\n\n### VS Code\n\n1. Install Prettier extension: `View → Extensions` then search and install Prettier - Code formatter\n2. You may need to reload the editor\n3. In your user settings `Code -> Preferences -> Settings` add `editor.formatOnSave: true`\n\n### Sublime Text\n\n[https://packagecontrol.io/packages/JsPrettier](https://packagecontrol.io/packages/JsPrettier)\n\n## Enforced Rules\n\nCheck out all of Prettier's [configuration options](https://prettier.io/docs/en/options.html).\n\n- **Print Width** - Wrap lines at 100 characters.\n\n- **Tab Width** - 2 spaces per indentation-level.\n\n- **Tabs** - Indent lines with spaces, not tabs.\n\n- **Semicolons** - Always print semicolons at the ends of statements.\n\n- **Quote** - Use single quotes instead of double quotes. JSX ignores this rule.\n\n- **Trailing Commas** - Use trailing commas wherever possible. Example:\n\n  ```js\n  const obj = {\n    a: 'hi',\n    b: 'hey',\n  };\n  ```\n\n- **Bracket Spacing** - Print spaces between brackets in object literals.\n\n- **JSX Brackets** - Put the closing `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements). Example:\n\n  ```jsx\n  <button\n  className=\"prettier-class\"\n  id=\"prettier-id\"\n  onClick={this.handleClick}>\n    Click Here\n  </button>\n  ```\n\n- **Arrow Function Parentheses** - No parentheses around a sole arrow function parameter. Example:\n\n  ```js\n  x => x;\n  ```\n","readmeFilename":"README.md"}