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

Support Tab Indentation #30

Open TobiasKrahn opened 5 years ago

TobiasKrahn commented 5 years ago

If you are using tab indentation for your project your indentations are changed to spaces while fixing.

Example:

class NoLineAndTabIndent {
    constructor() { }
    method() { }
}

becomes...

class NoLineAndTabIndent {
    constructor() { }
+
-   method() { }
+ method() { }
}

Since I already fixed it for myself I can offer you a pr.