Giter VIP home page Giter VIP logo

Comments (5)

xcatliu avatar xcatliu commented on June 15, 2024 2

已支持 @typescript-eslint 6.0,现在使用 [email protected] 即可
@yanranxiaoxi 已升级到 Prettier 3.0

from eslint-config-alloy.

pawover avatar pawover commented on June 15, 2024 1

在配置中添加就可以支持 6.0 了 "parserOptions": { "project": "./tsconfig.json" },
如果是安装报错可以覆盖版本信息至 6.0

from eslint-config-alloy.

binvb avatar binvb commented on June 15, 2024

补充一下报错:

Found: @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/[email protected]
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     peerOptional @typescript-eslint/eslint-plugin@">=5.55.0" from [email protected]
npm ERR!     node_modules/eslint-config-alloy
npm ERR!       dev eslint-config-alloy@"^5.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @typescript-eslint/parser@"5.x" from [email protected]
npm ERR! node_modules/eslint-config-alloy
npm ERR!   dev eslint-config-alloy@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/vb/.npm/eresolve-report.txt for a full report.

from eslint-config-alloy.

yanranxiaoxi avatar yanranxiaoxi commented on June 15, 2024

除此报错外,Prettier 3.0 现在也正式发布了,希望考虑支持

from eslint-config-alloy.

yanranxiaoxi avatar yanranxiaoxi commented on June 15, 2024

在配置中添加就可以支持 6.0 了 "parserOptions": { "project": "./tsconfig.json" },, 如果是安装报错可以覆盖版本信息至 6.0

感谢回复!
现在就是使用这个方式暂时解决了问题。

from eslint-config-alloy.

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.