Skip to content

Commit

Permalink
feat: update svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
tkhs0813 committed Jun 12, 2024
1 parent 18907cb commit 861a381
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 29 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"astro-eslint-parser": "^1.0.2",
"eslint": ">=8.0.0",
"svelte": ">=3.0.0",
"svelte-eslint-parser": "^0.33.0",
"svelte-eslint-parser": "^0.37.0",
"vue-eslint-parser": ">=9.0.0"
},
"dependencies": {
Expand Down Expand Up @@ -116,8 +116,8 @@
"stylelint-gamut": "^1.3.3",
"stylelint-order": "^6.0.3",
"stylelint-plugin-logical-css": "^0.13.2",
"svelte": "^4.2.7",
"svelte-eslint-parser": "^0.33.1",
"svelte": "^4.2.18",
"svelte-eslint-parser": "^0.37.0",
"ts-dedent": "^2.2.0",
"typescript": "^5.3.2",
"vite": "^5.0.2",
Expand Down
65 changes: 40 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rules/sort-svelte-attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default createEslintRule<Options<string[]>, MESSAGE_ID>({
if (typeof attribute.key.name === 'string') {
;({ name } = attribute.key)
} else {
name = context.sourceCode.text.slice(...attribute.key.range!)
name = context.sourceCode.text.slice(...attribute.key.range)
}
}

Expand Down

0 comments on commit 861a381

Please sign in to comment.