Skip to content

Commit bc3f8dc

Browse files
santoshyadavdevalan-agius4
authored andcommitted
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 (cherry picked from commit 27bab2a)
1 parent 4df3f7c commit bc3f8dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/schematics/angular/workspace/files/package.json.template

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"start": "ng serve",
77
"build": "ng build",
88
"watch": "ng build --watch --configuration development"<% if (!minimal) { %>,
9-
"test": "ng test",
10-
"lint": "ng lint"<% } %>
9+
"test": "ng test"<% } %>
1110
},
1211
"private": true,
1312
"dependencies": {

0 commit comments

Comments
 (0)