[英]Not sure how to use ng lint in angular project
$ ng lint
Cannot find "lint" target for the specified project.
You can add a package that implements these capabilities.
For example:
ESLint: ng add @angular-eslint/schematics
*****
I am expecting i am able to run ng lint and help me to find some error我期待我能够运行 ng lint 并帮助我找到一些错误
ng add @angular-eslint/schematics@14 --skip-confirmation To use the above command to install package as my angular version is 14. ng add @angular-eslint/schematics@14 --skip-confirmation 使用上面的命令安装包,因为我的角度版本是 14。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.