Skip to content

Commit 339c3b2

Browse files
authored
Upgrade parser & dev deps (#97)
1 parent 8fad01e commit 339c3b2

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

docs-svelte-kit/.eslintrc.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ module.exports = {
99
"@ota-meshi/svelte/button-has-type": "error",
1010
"@ota-meshi/svelte/no-useless-mustaches": "error",
1111
"@ota-meshi/svelte/prefer-class-directive": "error",
12-
// TODO Still get an error with prettier-plugin-svelte. Probably fixed in v2.6.
13-
// "@ota-meshi/svelte/prefer-style-directive": "error",
12+
"@ota-meshi/svelte/prefer-style-directive": "error",
1413
"@ota-meshi/svelte/spaced-html-comment": "error",
1514
},
1615
}

docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<slot />
3939
</div>
4040

41-
<div class="eslint-code-block-root" style="height: {blockHeight}">
41+
<div class="eslint-code-block-root" style:height={blockHeight}>
4242
<ESLintEditor
4343
{linter}
4444
bind:code
@@ -65,7 +65,7 @@
6565
Show Diff
6666
</label>
6767
{/if}
68-
<span style="margin-left: 16px">{time}</span>
68+
<span style:margin-left="16px">{time}</span>
6969
</div>
7070
</div>
7171

docs-svelte-kit/src/lib/components/ESLintPlayground.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
<div class="playground-root">
130130
<div class="playground-tools">
131-
<span style="margin-left: 16px">{time}</span>
131+
<span style:margin-left="16px">{time}</span>
132132
</div>
133133
<div class="playground-content">
134134
<RulesSettings bind:rules />

docs-svelte-kit/src/lib/header/Header.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
class="octicon octicon-mark-github"
7676
aria-hidden="true"
7777
><path
78-
style="fill: #2c3e50"
78+
style:fill="#2c3e50"
7979
fill-rule="evenodd"
8080
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"
8181
/>

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint-utils": "^3.0.0",
5959
"postcss": "^8.4.5",
6060
"sourcemap-codec": "^1.4.8",
61-
"svelte-eslint-parser": "^0.11.0"
61+
"svelte-eslint-parser": "^0.12.0"
6262
},
6363
"peerDependencies": {
6464
"eslint": "^7.0.0 || ^8.0.0-0",
@@ -115,7 +115,7 @@
115115
"pako": "^2.0.3",
116116
"pirates": "^4.0.1",
117117
"prettier": "^2.2.1",
118-
"prettier-plugin-svelte": "^2.5.1",
118+
"prettier-plugin-svelte": "^2.6.0",
119119
"prism-svelte": "^0.4.7",
120120
"prismjs": "^1.25.0",
121121
"semver": "^7.3.5",

0 commit comments

Comments
 (0)