Git Product home page Git Product logo

Comments (9)

skyline523 avatar skyline523 commented on June 2, 2024 1

问题已解决,项目使用的配置文件是eslint.config.ts,当前版本e's'lin'teslint不支持该格式配置文件,需要在vscode配置中打开以下配置:
image

from vue-pure-admin.

xiaoxian521 avatar xiaoxian521 commented on June 2, 2024

参考以往issues哈 这种问题我们没法复现 需要自己研究下哈
可以参考这种做法:
先安装依赖 然后执行pnpm lint 没问题再执行 pnpm typecheck
上面两个命令执行下来 没有报错 说明非代码问题 而是你vscode的配置问题 自行研究下哈

from vue-pure-admin.

skyline523 avatar skyline523 commented on June 2, 2024

能康康你的vscode配置吗

from vue-pure-admin.

xiaoxian521 avatar xiaoxian521 commented on June 2, 2024

正常情况下不需要特别的配置

image

这个文件就是我的配置

from vue-pure-admin.

skyline523 avatar skyline523 commented on June 2, 2024

好的,感谢

from vue-pure-admin.

skyline523 avatar skyline523 commented on June 2, 2024

也建议作者有时间可以把类似配置文件都改成如.eslintrc.js格式的文件,以防止这种错误发生

from vue-pure-admin.

xiaoxian521 avatar xiaoxian521 commented on June 2, 2024

怎么说呢 多看看代码或者记录哈 改掉都是有原因的 我们仓库非常新
.eslintrc.js配置文件将在eslint v9废弃 https://zh-hans.eslint.org/docs/latest/use/configure/configuration-files
#786

from vue-pure-admin.

skyline523 avatar skyline523 commented on June 2, 2024

哈哈哈好的

from vue-pure-admin.

xiaoxian521 avatar xiaoxian521 commented on June 2, 2024

该提问已加入 保姆文档-常见问题 感谢 ❤️

from vue-pure-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.