chinchiheather / tslint-lines-between-class-members

Custom rule for TSLint to enforce blank lines between class methods - achieves a similar thing to lines-between-class-members in ESLint
18 stars 5 forks source link

Don't add in spaces when adding in new lines via --fix #21

Closed chinchiheather closed 5 years ago

chinchiheather commented 5 years ago

Fixes #16

New lines added in through the rule fix are now completely empty

This change also refactored the tests to split them into passes, fails and fixes as the original test file was getting a bit unmaintainable