GitShow/sveltejs/prettier-plugin-svelte
sveltejs

prettier-plugin-svelte

Format your svelte components using prettier.

by sveltejs
Star on GitHubForknpm

TypeScript

814 stars100 forks44 contributorsActive · 3w agoSince 2018prettier-plugin-svelte@4.1.1MIT

Meet the team

See all 44 on GitHub →
dummdidumm
dummdidumm180 contributions
jamesbirtles
jamesbirtles61 contributions
Conduitry
Conduitry36 contributions
dependabot[bot]Bot
dependabot[bot]20 contributions
jarrodldavis
jarrodldavis16 contributions
ehrencrona
ehrencrona10 contributions
jrmajor
jrmajor6 contributions
github-actions[bot]Bot
github-actions[bot]4 contributions

Languages

View on GitHub →
TypeScript63.7%
HTML35.4%
JavaScript0.9%

Commit activity

Last 12 weeks · 6 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
50
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 3w ago
See all on GitHub →
blaumeise20
Line break incorrectly placed before `>`, not afterOpenIssue

Take this code and format it: This is the output: This would look better:

blaumeise20 · 2w ago
ghost
plugin inserts prettier:content when using webstormOpenIssue

example svelte project using the default template: https://github.com/theweekendgeek/svelte-prettier-example) This s happening in WebStorm, I could not yet reproduce this in Visual Studio Code. I would assume that other IDEs from Jetbrains behave the same. Not sure If I might need to be raising this issue with them, because of the way the IDE calls Prettier for example. How to reproduce: 1. open project in webstorm 2. in Settings -> Prettier: make sure prettier package is selected, add svelte extension to . Check and 3. open 4. select 5. type opening curly brace to surround with curly braces 6. prettier:content is inserted instead of reformatted code What I have found out so far: In General I can call the action without problems. I will format the code as expected, except when I have just done the sequence above and pressed . In this case the same result as above will shown. I can workaround the issue by disabling the option in the Prettier Settings.

ghost · 3w ago
jycouet
chore: switch to @changesets/changelog-githubOpenPR

Switch to (its new option reproduces the same compact output).

jycouet · 3w ago

Recent fixes

View closed PRs →
hyunbinseo
Tailwind class sorting does not work from v4ClosedIssue

Using the latest template, Tailwind class sorting does not work. Reproduction: https://github.com/hyunbinseo/svelte-kit-templates/tree/prettier-plugin-svelte-542 This might be a Windows only bug considering how no one noticed it..

hyunbinseo · 2mo ago
Structured data for AI agents

Repository: sveltejs/prettier-plugin-svelte. Description: Format your svelte components using prettier. Stars: 814, Forks: 100. Primary language: TypeScript. Languages: TypeScript (63.7%), HTML (35.4%), JavaScript (0.9%). License: MIT. Latest release: prettier-plugin-svelte@4.1.1 (2mo ago). Open PRs: 10, open issues: 46. Last activity: 3w ago. Community health: 50%. Top contributors: dummdidumm, jamesbirtles, Conduitry, dependabot[bot], jarrodldavis, ehrencrona, jrmajor, github-actions[bot], clebert, orlov-vo and others.

·@ofershap

Replace github.com with gitshow.dev