steelbrain / linter

A Base Linter with Cow Powers http://steelbrain.me/linter/
MIT License
1.1k stars 178 forks source link

Linter fixes are not applied correctly if code changes #1709

Closed aminya closed 4 years ago

aminya commented 4 years ago

This is fixed in #1706. I am adding this issue for the record.

Linter fixes are not applied correctly if code changes. For example, it says to remove the ;, but it removes the word itself.

See here. The linter fixes are applied to the wrong location:

wrong-linter-fixes