ng lint : fails with Cannot find "lint" target for the specified project

277 Views Asked by At

My angular version is 13.x

when i try to lint the files using ng lint i m getting the following results

Cannot find "lint" target for the specified project.

You should add a package that implements linting capabilities.

For example:
  ng add @angular-eslint/schematics

So i tried to add ng add @angular-eslint/schematics but this throws the package already installed error

Skipping installation: Package already installed
    
    All @angular-eslint dependencies have been successfully installed 
    
    Please see https://github.com/angular-eslint/angular-eslint for how to add ESLint configuration to your project.
    
UPDATE package.json (4946 bytes)

Can somebody help me on this , i have spent hours on this

0

There are 0 best solutions below