Skip to content

Upgrade parser & dev deps #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs-svelte-kit/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
4 changes: 2 additions & 2 deletions docs-svelte-kit/src/lib/components/ESLintCodeBlock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<slot />
</div>

<div class="eslint-code-block-root" style="height: {blockHeight}">
<div class="eslint-code-block-root" style:height={blockHeight}>
<ESLintEditor
{linter}
bind:code
Expand All @@ -65,7 +65,7 @@
Show Diff
</label>
{/if}
<span style="margin-left: 16px">{time}</span>
<span style:margin-left="16px">{time}</span>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs-svelte-kit/src/lib/components/ESLintPlayground.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

<div class="playground-root">
<div class="playground-tools">
<span style="margin-left: 16px">{time}</span>
<span style:margin-left="16px">{time}</span>
</div>
<div class="playground-content">
<RulesSettings bind:rules />
Expand Down
2 changes: 1 addition & 1 deletion docs-svelte-kit/src/lib/header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
class="octicon octicon-mark-github"
aria-hidden="true"
><path
style="fill: #2c3e50"
style:fill="#2c3e50"
fill-rule="evenodd"
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"
/>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down