Its because of the inconsistent angular.json and package.json I assume. I removed "schematicCollections": ["@angular-eslint/schematics"] from angular.json and everything works