[英]Migration from tslint
How can I uninstall tslint -globaly, and use eslint as a default in my angular projects.如何卸载 tslint -globaly,并在我的 angular 项目中默认使用 eslint。 When, for example I use
例如,当我使用
ng new myProj
I want to have eslint.json, but not tslint.json.我想要 eslint.json,而不是 tslint.json。
This isn't supported by the angular cli at the moment because a lot of the custom lints that angular uses need to be ported to eslint and the typescript-eslint plugin. angular cli 目前不支持此功能,因为 angular 使用的许多自定义 lint 需要移植到 eslint 和 typescript-eslint 插件。
This is the repo where the work is being done to migrate to eslint https://github.com/angular-eslint/angular-eslint .这是迁移到 eslint https://github.com/angular-eslint/angular-eslint的工作的仓库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.