diff --git a/docs/package.json b/docs/package.json index 9b428cb6..768e3db9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,8 +21,8 @@ "mdsvex": "^0.8.8", "npm-run-all": "^4.1.5", "postcss": "^8.2.4", - "prettier": "^2.1.2", - "prettier-plugin-svelte": "^1.4.1", + "prettier": "^2.5.1", + "prettier-plugin-svelte": "^2.5.1", "prism-svelte": "^0.4.7", "prismjs": "^1.21.0", "remark-slug": "^6.0.0", diff --git a/docs/svelte.config.js b/docs/svelte.config.js index 8f27725b..139ea081 100644 --- a/docs/svelte.config.js +++ b/docs/svelte.config.js @@ -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, diff --git a/docs/yarn.lock b/docs/yarn.lock index 7c84a854..cc09bae6 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1942,15 +1942,15 @@ prelude-ls@~1.1.2: resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier-plugin-svelte@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-1.4.1.tgz#2f0f7a149190f476dc9b4ba9da8d482bd196f1e2" - integrity sha512-6y0m37Xw01GRf/WIHau+Kp3uXj2JB1agtEmNVKb9opMy34A6OMOYhfneVpNIlrghQSw/jIV+t3e5Ngt4up2CMA== +prettier-plugin-svelte@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-2.5.1.tgz#6c2f5e7fbe2aa208b340b75edc4fdfda33fb254c" + integrity sha512-IhZUcqr7Bg4LY15d87t9lDr7EyC0IPehkzH5ya5igG8zYwf3UYaYDFnVW2mckREaZyLREcH9YOouesmt4f5Ozg== -prettier@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" - integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== +prettier@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" + integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== prism-svelte@^0.4.7: version "0.4.7"