不知道如何在angular项目中使用ng lint


$ 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
*****

我希望我能够运行ng lint并帮助我找到一些错误

添加@angular-eslint/schematics@14——skip-confirmation使用上面的命令来安装包,因为我的angular版本是14。

最新更新