{"_id":"@contena/meteor-prettier-config","name":"@contena/meteor-prettier-config","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@contena/meteor-prettier-config","version":"1.0.0","description":"Prettier configuration for Contena projects","repository":{"type":"git","url":"git+https://github.com/contena/meteor.git"},"type":"module","exports":"./index.js","license":"Apache-2.0","private":false,"peerDependencies":{"prettier":">=3.0.0"},"devDependencies":{"prettier":"^3.0.0"},"_id":"@contena/meteor-prettier-config@1.0.0","bugs":{"url":"https://github.com/contena/meteor/issues"},"homepage":"https://github.com/contena/meteor#readme","_integrity":"sha512-+s7sJLefet8cs+BK3mvTOqtVA7RA31pAajxNNz9Ll4rcmWsLVXk9OxshtHFKvSQwI8lntvrzNYMhVb5gitAWIA==","_resolved":"/private/var/folders/7k/tcw8tk8n08361s09yp77f61c0000gq/T/477cc255450db24e2ad61cf0612942a2/contena-meteor-prettier-config-1.0.0.tgz","_from":"file:contena-meteor-prettier-config-1.0.0.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-+s7sJLefet8cs+BK3mvTOqtVA7RA31pAajxNNz9Ll4rcmWsLVXk9OxshtHFKvSQwI8lntvrzNYMhVb5gitAWIA==","shasum":"9c4e7cd1607225e76d6a992d869826c00f73fb18","tarball":"https://registry.npmjs.org/@contena/meteor-prettier-config/-/meteor-prettier-config-1.0.0.tgz","fileCount":5,"unpackedSize":3150,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHtGSKBHjlFdn6IDphCAj6C1KeJkAqYyCHs3UgnpX1rEAiB+5bMjprEUTdcwEhrOuA+MBNOJT+O00W2EL0qIsAAThg=="}]},"_npmUser":{"name":"gouxiaosong","email":"gouxiaosong1001@gmail.com"},"directories":{},"maintainers":[{"name":"gouxiaosong","email":"gouxiaosong1001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/meteor-prettier-config_1.0.0_1787470497157_0.15113324301333475"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-23T07:34:57.002Z","1.0.0":"2026-08-23T07:34:57.309Z","modified":"2026-08-23T07:34:57.587Z"},"maintainers":[{"name":"gouxiaosong","email":"gouxiaosong1001@gmail.com"}],"description":"Prettier configuration for Contena projects","homepage":"https://github.com/contena/meteor#readme","repository":{"type":"git","url":"git+https://github.com/contena/meteor.git"},"bugs":{"url":"https://github.com/contena/meteor/issues"},"license":"Apache-2.0","readme":"# @contena/meteor-prettier-config\n\nA shared prettier config for contena projects.\n\n## Installation\n\nWith npm:\n\n```bash\nnpm i -D @contena/meteor-prettier-config\n```\n\nWith pnpm:\n\n```bash\npnpm i -D @contena/meteor-prettier-config\n```\n\n# Usage\n\nThere are two ways to use this new config:\n\n1. By configuring prettier inside your `package.json` file:\n\n```jsonc\n{\n  \"name\": \"my-package\",\n  \"devDependencies\": {\n    \"prettier\": \"^3.0.0\",\n  },\n  // ↓ This is the important part ↓\n  \"prettier\": \"@contena/meteor-prettier-config\",\n}\n```\n\n2. Or you can use a `.prettierrc.js` file:\n\n```js\nimport meteorPrettierConfig from \"@contena/meteor-prettier-config\";\n\nexport default meteorPrettierConfig;\n```\n\nFor a full guide you can read the [prettier configuration](https://prettier.io/docs/sharing-configurations#extending-a-sharable-config).\n\n## Using single quotes\n\nWe strongly advise to keep the configuration as is. The pre-defined config, aswell as prettier exist to avoid unnecessary discussions about things that do not matter.\n\nHowever, if you _really_ dislike using double quotes, you can override\nthat setting like so:\n\n```js\n// filename: .prettierrc.js\nimport meteorPrettierConfig from \"@contena/meteor-prettier-config\";\n\nexport default {\n  ...meteorPrettierConfig,\n  singleQuote: true,\n};\n```\n","readmeFilename":"README.md","_rev":"1-5da41863f95e2c6677e1fa78bb3b65e3"}