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
The SvelteKit demo app application with TypeScript enabled fails the npm run lint phase:
$ npm run format
...
$ npm run lint
> my-app@0.0.1 lint
> prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .
Checking formatting...
All matched files use Prettier code style!
/home/ufo/workspaces/temp/my-app/src/app.d.ts
10:12 error An empty interface is equivalent to `{}` @typescript-eslint/no-empty-interface
12:12 error An empty interface is equivalent to `{}` @typescript-eslint/no-empty-interface
14:12 error An empty interface is equivalent to `{}` @typescript-eslint/no-empty-interface
/home/ufo/workspaces/temp/my-app/src/lib/form.ts
68:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
✖ 4 problems (3 errors, 1 warning)
Reproduction
Create a new project from scratch with: npm init svelte@next my-app
Describe the bug
The SvelteKit demo app application with TypeScript enabled fails the
npm run lint
phase:Reproduction
npm init svelte@next my-app
yes
, ESLintyes
, Prettieryes
npm run format
npm run lint
Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: