Skip to content

Commit 60c3219

Browse files
authored
chore: upgrade to typescript-eslint 8 (#11828)
1 parent 9a86e3b commit 60c3219

File tree

3 files changed

+82
-95
lines changed

3 files changed

+82
-95
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"prettier": "^3.2.4",
4040
"prettier-plugin-svelte": "^3.1.2",
4141
"typescript": "^5.3.3",
42-
"typescript-eslint": "^7.6.0",
42+
"typescript-eslint": "^8.0.0-alpha.20",
4343
"vitest": "^1.2.1"
4444
},
4545
"pnpm": {

packages/svelte/src/compiler/phases/1-parse/state/element.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ export default function tag(parser) {
271271
const chunk = definition.value[0];
272272

273273
if (definition.value.length !== 1 || chunk.type !== 'ExpressionTag') {
274-
chunk.type;
275274
w.svelte_element_invalid_this(definition);
276275

277276
// note that this is wrong, in the case of e.g. `this="h{n}"` — it will result in `<h>`.

pnpm-lock.yaml

Lines changed: 81 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)