Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

440
Vistas
Cannot find "lint" target for the specified project OR Data path "" must have required property 'lintFilePatterns'

After changing my project structure to a monorepo structure in Angular according to this tutorial, I encountered numerous config bugs that I managed to squash after lots of troubleshooting.

The full error reads

Cannot find "lint" target for the specified project.

You should add a package that implements linting capabilities

A variation of this error reads

Schema validation failed with the following errors:  
Data path "" must have required property 'lintFilePatterns'.

Both errors can be fixed with proper configuration of your angular.json.

Find the details to the fix below

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

The required config can be automatically added using:

ng add @angular-eslint/schematics

From Angular ESLint README

over 4 years ago · Santiago Trujillo Denunciar

0

Go to angular.json -> <your-projects-root-directory> -> <your-project-name> -> architect and add or modify

"lint": {
          "builder": "@angular-eslint/builder:lint",
          "options": {
            "lintFilePatterns": [
              "<your-projects-root-directory>/<your-project-name>/src/**/*.ts",
              "<your-projects-root-directory>/<your-project-name>/src/**/*.html"
            ]
          }
        },

This tells the ng lint command which linter to use in the respective project (builder) and which files to lint (lintFilePatterns).

Typically your project root directory is named projects. You might have to replace the "builder" property by another linter, if you use tslint for example. See your package.json for details.

Remember to set this for all your projects that are defined in angular.json.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda