{"_id":"@anuarhdz/prettier-sveltekit","name":"@anuarhdz/prettier-sveltekit","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@anuarhdz/prettier-sveltekit","version":"0.0.1","description":"Prettier config for SvelteKit projects with Tailwind CSS","main":"index.js","type":"module","prettier":"./index.js","exports":{".":"./index.js"},"keywords":["prettier","prettier-config","sveltekit","svelte","tailwindcss"],"peerDependencies":{"prettier":">=3.0.0","prettier-plugin-svelte":">=3.0.0","prettier-plugin-tailwindcss":">=0.6.0"},"publishConfig":{"access":"public"},"_id":"@anuarhdz/prettier-sveltekit@0.0.1","_integrity":"sha512-07kcOAXelHYQs3qHZCiPand2jSoUVQw82HKD3l38Joyg71ofKkJ/w20Foy7kZ1aOZtgu6aNiWjv/JArD+dSaCw==","_resolved":"/private/var/folders/5l/j86xb7x15_j852l6z38c61zc0000gn/T/62b33c9ac729dabc1a552b063150f966/anuarhdz-prettier-sveltekit-0.0.1.tgz","_from":"file:anuarhdz-prettier-sveltekit-0.0.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-07kcOAXelHYQs3qHZCiPand2jSoUVQw82HKD3l38Joyg71ofKkJ/w20Foy7kZ1aOZtgu6aNiWjv/JArD+dSaCw==","shasum":"1431f435588fae978bd7cc5d30e8e66894e2e9bb","tarball":"https://registry.npmjs.org/@anuarhdz/prettier-sveltekit/-/prettier-sveltekit-0.0.1.tgz","fileCount":3,"unpackedSize":2261,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCsO3qQCHxTOSV5CS0GGDiqSKVa3QFgD1b6JSSohR8mqQIhAOUeWMceDiQO5f6PvrG4iGuxEAuqWA+TyzxnqqUBDiBd"}]},"_npmUser":{"name":"iniciatico","email":"anuar@hey.com"},"directories":{},"maintainers":[{"name":"iniciatico","email":"anuar@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prettier-sveltekit_0.0.1_1775364798639_0.35943307263900826"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T04:53:18.384Z","0.0.1":"2026-04-05T04:53:18.786Z","modified":"2026-04-05T04:53:19.007Z"},"maintainers":[{"name":"iniciatico","email":"anuar@hey.com"}],"description":"Prettier config for SvelteKit projects with Tailwind CSS","keywords":["prettier","prettier-config","sveltekit","svelte","tailwindcss"],"readme":"# @anuarhdz/prettier-sveltekit\n\nPrettier config for SvelteKit projects with Tailwind CSS and Svelte plugin support.\n\n## Installation\n\n```bash\nnpm install -D prettier prettier-plugin-svelte prettier-plugin-tailwindcss @anuarhdz/prettier-sveltekit\n```\n\n## Usage\n\n**Option A — via `package.json` (no config file needed):**\n```json\n{\n  \"prettier\": \"@anuarhdz/prettier-sveltekit\"\n}\n```\n\n**Option B — via `prettier.config.js` (to extend or add project-specific options):**\n```js\nimport baseConfig from \"@anuarhdz/prettier-sveltekit\"\n\nexport default {\n  ...baseConfig,\n  tailwindStylesheet: \"./src/routes/+layout.css\",\n}\n```\n\n> `tailwindStylesheet` is project-specific (path varies per project) so it is not included in the base config.\n\n## Config\n\n| Option | Value |\n|---|---|\n| `useTabs` | `false` |\n| `singleQuote` | `false` |\n| `trailingComma` | `\"es5\"` |\n| `semi` | `false` |\n| `printWidth` | `90` |\n| `bracketSameLine` | `true` |\n| `svelteBracketNewLine` | `true` |\n| `plugins` | `prettier-plugin-svelte`, `prettier-plugin-tailwindcss` |\n| `overrides` | `*.svelte` → `parser: \"svelte\"` |\n| `tailwindFunctions` | `cva`, `cx`, `cn`, `tv`, `clsx` |\n","readmeFilename":"README.md","_rev":"1-ccc3f0336a838c839993aa271190b63f"}