Closed lonix1 closed 5 years ago
Hi @lonix1, sorry for the delayed response, can you give me an example of how you are trying to disable it? I tried using
/* tslint:disable:lines-between-class-members */
and it worked fine, how are you doing the next line disable?
I tried the usual ways in the original post, which didn't work unfortunately.
I mean an example within your code, so I can see exactly how you are trying to disable it I can do this to prevent the linting error and it works fine
class App {
private a = "b";
// tslint:disable-line:lines-between-class-members
constructor() {
this.a = "c";
}
}
That seems to work for me, maybe an update fixed it? Thanks!
Awesome! Glad to hear it :)
TSLint allows me to disable rules for "whole file", "next line", or "this line". I assumed this rule could also be disabled.
I tried:
and
Which don't work. Please advise?