babichjacob / sapper-typescript-graphql-template

A template that includes Sapper for Svelte, TypeScript preprocessing, and a GraphQL server through TypeGraphQL
MIT License
84 stars 14 forks source link

Unexpected token eslint(ParseError) #23

Open Organizzzm opened 3 years ago

Organizzzm commented 3 years ago

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.

babichjacob commented 3 years ago

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