nuxt / typescript

TypeScript Support for Nuxt 2

Home Page:https://typescript.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode ****.json file Point out error: "Expected an assignment or function call and instead saw an expression"

Rain-Hsiang opened this issue · comments

commented

Describe the bug
截屏2023-03-07 19 26 06

To Reproduce
1.nuxt3 demo
pnpm dlx nuxi init <project-name>
pnpm i

2.eslint
pnpm i -D @nuxtjs/eslint-config-typescript eslint typescript

3.dispose vscode 'eslint.validate'
截屏2023-03-07 19 28 09
截屏2023-03-07 19 27 00

Expected behavior
no error

demo
https://gitee.com/rain-f2e/demo

I don't think you are supposed to use this project with Nuxt 3.

commented

I don't think you are supposed to use this project with Nuxt 3.

...ok
thank you