I've encountered an issue while trying to run ng lint
on my Angular project. After migrating from TSLint to ESLint, I'm getting the following error message when running ng lint
:
An unhandled exception occurred: Invalid lint configuration. Nothing to lint.
I'm puzzled as to what could have possibly gone wrong with the configuration.
Angular version: Angular CLI: 11.2.9, Angular: 11.2.0
.eslintrc.json
{
"root": true,
// Rest of the .eslintrc.json file content goes here ...
}
angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
// Rest of the angular.json file content goes here ...
}
package.json
{
"name": "libs-common-angular",
// Rest of the package.json file content goes here ...
}