You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before You File a Bug Report Please Confirm You Have Done The Following...
I have tried restarting my IDE and the issue persists.
I have updated to the latest version of the packages.
What version of ESLint are you using?
9.18.0
What version of eslint-plugin-svelte are you using?
3.0.0-next.17
What did you do?
Configuration
generate new project using sv
$ deno -A npm:sv create test
┌ Welcome to the Svelte CLI! (v0.6.16)
│
◇ Which template would you like?
│ SvelteKit minimal
│
◇ Add type checking with Typescript?
│ Yes, using Typescript syntax
│
◆ Project created
│
◇ What would you like to add to your project? (use arrow keys / space bar)
│ prettier, eslint, vitest, playwright, tailwindcss, sveltekit-adapter, mdsvex
│
◇ tailwindcss: Which plugins would you like to add?
│ none
│
◇ sveltekit-adapter: Which SvelteKit adapter would you like to use?
│ node
│
◇ Which package manager do you want to install dependencies with?
│ deno
│
◆ Successfully setup add-ons
│
◆ Successfully installed dependencies
│
◇ Successfully formatted modified files
│
◇ Project next steps ─────────────────────────────────────────────────────╮
│ │
│ 1: cd test │
│ 2: git init && git add -A && git commit -m "Initial commit" (optional) │
│ 3: deno task dev --open │
│ │
│ To close the dev server, hit Ctrl-C │
│ │
│ Stuck? Visit us at https://svelte.dev/chat │
│ │
├──────────────────────────────────────────────────────────────────────────╯
│
└ You're all set!
update to "eslint-plugin-svelte": "^3.0.0-next.17",
and add class T with static readonly member
class T {
staticreadonlyf='test';
}
What did you expect to happen?
no parsing errors, no errors when running deno task lint
/home/mato/test/src/lib/t.svelte.ts
2:18 error Parsing error: Unexpected token f
/home/mato/test/src/routes/+layout.svelte
3:8 error disallow props other than data or errors in SvelteKit page components svelte/valid-prop-names-in-kit-pages
✖ 2 problems (2 errors, 0 warnings)
Link to GitHub Repo with Minimal Reproducible Example
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
9.18.0
What version of
eslint-plugin-svelte
are you using?3.0.0-next.17
What did you do?
Configuration
generate new project using sv
What did you expect to happen?
no parsing errors, no errors when running
deno task lint
What actually happened?
$ deno task lint
Task lint prettier --check . && eslint .
Checking formatting...
All matched files use Prettier code style!
/home/mato/test/src/lib/t.svelte.ts
2:18 error Parsing error: Unexpected token f
/home/mato/test/src/routes/+layout.svelte
3:8 error disallow props other than data or errors in SvelteKit page components svelte/valid-prop-names-in-kit-pages
✖ 2 problems (2 errors, 0 warnings)
Link to GitHub Repo with Minimal Reproducible Example
https://github.com/mato-a/test
Additional comments
I am using 3.0.0-next.17 because of this issue - #968
since I use svelte:boundary in my app I have to use 3.0.0-next.5 or higher
The text was updated successfully, but these errors were encountered: