简体   繁体   中英

Migration from tslint

How can I uninstall tslint -globaly, and use eslint as a default in my angular projects. When, for example I use

ng new myProj

I want to have eslint.json, but not 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.

This is the repo where the work is being done to migrate to eslint https://github.com/angular-eslint/angular-eslint .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM