ng lint Could not find custom rule directory: codelyzer with Angular CLI on gitlab CI

Discussão em 'Angular' iniciado por T. SvZ, Janeiro 13, 2025.

  1. T. SvZ

    T. SvZ Guest

    ng lint fails on Gitlab CI with the error message An unhandled exception occurred: Failed to load /builds/trade-up/trade-up/common/projects/trade-up-common/tslint.json: Could not find custom rule directory: codelyzer.

    ng lint is running without issues on my local machine but failing on gitlab CI.

    In the trade-up-common package, I have added tslint.json to the .npmignore file. Codelyzer is included in the dependencies of both the main angular app and the common package.

    Continue reading...

Compartilhe esta Página