Rognik
Rognik

Reputation: 145

visual studio code, tslint showing unchecked changes for staging

I am using vs code for angular project with git source connected to my account. I added ts-lint with few rules. When I change one single line it is affecting for other changes. In staging process when I tried to remove them but its not working. This below image is the original

enter image description here

Added "the" in line 67.

enter image description here

When trying to stage the changes

enter image description here

How to add only my changes here?

Upvotes: 0

Views: 99

Answers (1)

Gokul Sridhar
Gokul Sridhar

Reputation: 131

The difference is you formatted the document or somehow removed the empty spaces in the document

Upvotes: 1

Related Questions