sapper-typescript-graphql-template icon indicating copy to clipboard operation
sapper-typescript-graphql-template copied to clipboard

Unexpected token eslint(ParseError)

Open Organizzzm opened this issue 5 years ago • 1 comments

Hi! Variables with interface throw error "Unexpected token eslint(ParseError)". This is in the latest clone of the template. "version": "2020.09.10",

npm run eslint:fix

/.../sapper-typescript-graphql-template/src/routes/_layout.svelte
11:20  error  Unexpected token  ParseError

Eslint highlight show error as well. export let segment: string = ""; >>> Unexpected token eslint(ParseError)

I faced this problem too in my project. And still can't solve it.

Organizzzm avatar Oct 20 '20 16:10 Organizzzm

👋 We can't solve this problem because we're dependent on upstream https://github.com/sveltejs/eslint-plugin-svelte3/issues/10

babichjacob avatar Oct 20 '20 18:10 babichjacob