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