Comments (5)
已支持 @typescript-eslint 6.0,现在使用 [email protected] 即可
@yanranxiaoxi 已升级到 Prettier 3.0
from eslint-config-alloy.
在配置中添加就可以支持 6.0 了 "parserOptions": { "project": "./tsconfig.json" },
,
如果是安装报错可以覆盖版本信息至 6.0
from eslint-config-alloy.
补充一下报错:
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.
除此报错外,Prettier 3.0 现在也正式发布了,希望考虑支持
from eslint-config-alloy.
在配置中添加就可以支持 6.0 了
"parserOptions": { "project": "./tsconfig.json" },
, 如果是安装报错可以覆盖版本信息至 6.0
感谢回复!
现在就是使用这个方式暂时解决了问题。
from eslint-config-alloy.
Related Issues (20)
- 为什么在vue.js中eqeqeq是off二不是error? HOT 10
- Typo: no-unused-vars HOT 1
- [feature] eslint-config-alloy@3 中建议将parser由babel-eslint升级为@babel/eslint-parser HOT 2
- TypeScript should disable "no-undef" HOT 1
- 请问一下有没有对 typescript 5 的支持计划 HOT 1
- 为什么要启用这个 prefer-object-has-own 规则,有兼容性问题 HOT 1
- consistent type export/import HOT 6
- [feature] eslint rules conflict with mocha timeout HOT 1
- @typescript-eslint/parser 更新到 6.5.0 以上版本后报错 Error while loading rule '@typescript-eslint/consistent-type-assertions'
- vue/cli 5.0.8版本使用ts+vue的例子时,出现ERROR HOT 1
- 是否可以加入import排序配置 HOT 1
- 什么时候会适配新的eslint.config.js HOT 2
- 是否开个新坑呢?关于biomejs HOT 2
- [feature] 考虑一个alloy版本兼容不同语言,比如vue2/vue3/typescript4/typescript5 HOT 4
- 提供的 example 无法使用 HOT 4
- no-undef 规则默认关闭的原因是什么? HOT 1
- 请问 @babel/core @babel/eslint-parser 是否还有必要安装
- 当前提供的库和vue命令行安装的库并不相同,是否同步为官方推荐的库? HOT 2
- Support eslint 9 flat config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-config-alloy.