mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-21 19:38:58 +01:00
6bba70a2a5
* rename file * add snippet docs * add note on deprecation * they're not attributes * event docs * prettier * remove unnecessary div * Apply suggestions from code review Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> * make example less confusing * note breaking props.children change --------- Co-authored-by: Rich Harris <rich.harris@vercel.com> Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
29 lines
496 B
Plaintext
29 lines
496 B
Plaintext
{
|
|
"useTabs": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "none",
|
|
"printWidth": 100,
|
|
"plugins": ["prettier-plugin-svelte"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.svelte"],
|
|
"options": {
|
|
"bracketSameLine": false
|
|
}
|
|
},
|
|
{
|
|
"files": ["README.md", "packages/*/README.md", "**/package.json"],
|
|
"options": {
|
|
"useTabs": false,
|
|
"tabWidth": 2
|
|
}
|
|
},
|
|
{
|
|
"files": ["sites/svelte-5-preview/src/routes/docs/content/**/*.md"],
|
|
"options": {
|
|
"printWidth": 60
|
|
}
|
|
}
|
|
]
|
|
}
|