mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
chore(docs): upgrade prettier, prettier-plugin-svelte
This commit is contained in:
parent
43021d6209
commit
6aac5cc6d0
3 changed files with 10 additions and 12 deletions
|
@ -67,8 +67,6 @@ function plugin() {
|
|||
const scriptBlock = createImports(node.value);
|
||||
const formattedCode = format(scriptBlock + node.value, {
|
||||
parser: "svelte",
|
||||
svelteBracketNewLine: true,
|
||||
svelteSortOrder: "scripts-markup-styles",
|
||||
});
|
||||
const highlightedCode = Prism.highlight(
|
||||
formattedCode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue