diff --git a/docs-svelte-kit/.eslintrc.cjs b/docs-svelte-kit/.eslintrc.cjs index e38d0514a..d5a5f38af 100644 --- a/docs-svelte-kit/.eslintrc.cjs +++ b/docs-svelte-kit/.eslintrc.cjs @@ -9,8 +9,7 @@ module.exports = { "@ota-meshi/svelte/button-has-type": "error", "@ota-meshi/svelte/no-useless-mustaches": "error", "@ota-meshi/svelte/prefer-class-directive": "error", - // TODO Still get an error with prettier-plugin-svelte. Probably fixed in v2.6. - // "@ota-meshi/svelte/prefer-style-directive": "error", + "@ota-meshi/svelte/prefer-style-directive": "error", "@ota-meshi/svelte/spaced-html-comment": "error", }, } diff --git a/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte b/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte index 4024fac4f..f172f0151 100644 --- a/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte +++ b/docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte @@ -38,7 +38,7 @@ -
+
{/if} - {time} + {time}
diff --git a/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte b/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte index 62a85b93e..9d5796453 100644 --- a/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte +++ b/docs-svelte-kit/src/lib/components/ESLintPlayground.svelte @@ -128,7 +128,7 @@
- {time} + {time}
diff --git a/docs-svelte-kit/src/lib/header/Header.svelte b/docs-svelte-kit/src/lib/header/Header.svelte index 8a2e59835..4d9c72a64 100644 --- a/docs-svelte-kit/src/lib/header/Header.svelte +++ b/docs-svelte-kit/src/lib/header/Header.svelte @@ -75,7 +75,7 @@ class="octicon octicon-mark-github" aria-hidden="true" > diff --git a/package.json b/package.json index 4d475d019..0a2ce2c58 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "eslint-utils": "^3.0.0", "postcss": "^8.4.5", "sourcemap-codec": "^1.4.8", - "svelte-eslint-parser": "^0.11.0" + "svelte-eslint-parser": "^0.12.0" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0-0", @@ -115,7 +115,7 @@ "pako": "^2.0.3", "pirates": "^4.0.1", "prettier": "^2.2.1", - "prettier-plugin-svelte": "^2.5.1", + "prettier-plugin-svelte": "^2.6.0", "prism-svelte": "^0.4.7", "prismjs": "^1.25.0", "semver": "^7.3.5",