Seeing lot of whitespace changes on file after latest version

Recently, I have noticed lot of whitespace formatting coming on files just on opening it in Webstorm. Not sure from where it's reading those changes. 

1. Disabled Prettier plugin

2. Disabled JSHint

 

Please help as it is creating issue while staging the changes. 

0
3 comments

The IDE doesn't normally alter files on opening. Do you have any file watchers/startup tasks defined?

If the changes only affect trailing whitespaces, check your settings for Strip trailing spaces on Save (Settings | Editor | General)

If you have .editorconfig file in your project, check the settings there as well

0

I think Strip trailing spaces on Save was causing the issue as it was set to "All" option instead of "Modified Lines". Will check if that fixes the issue. 

0

Yeah the issue was because of that section only. Needed to turn off other options too, just wondering how that got enabled itself with the updates of version. 

0

Please sign in to leave a comment.