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

Only apply rule to methods within a class declaration #12

Closed chinchiheather closed 5 years ago

chinchiheather commented 5 years ago

Fixes #10

Now we check the type of the parent node and only apply rule if parent is a class declaration