From 27bab2a66f2e212dd0e0fbd782eb33360c3e2c4d Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Sat, 24 Apr 2021 22:25:39 +0530 Subject: [PATCH] fix(@schematics/angular): remove lint command from package.json Angular 12 does not provide the default linter but CLI adds the ng lint this PR removes the ng lint from new app created Fixes #20618 --- .../schematics/angular/workspace/files/package.json.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/schematics/angular/workspace/files/package.json.template b/packages/schematics/angular/workspace/files/package.json.template index be076d6cc3e8..6b9b486bb745 100644 --- a/packages/schematics/angular/workspace/files/package.json.template +++ b/packages/schematics/angular/workspace/files/package.json.template @@ -6,8 +6,7 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development"<% if (!minimal) { %>, - "test": "ng test", - "lint": "ng lint"<% } %> + "test": "ng test"<% } %> }, "private": true, "dependencies": {