113
rated 0 times
[
114]
[
1]
/ answers: 1 / hits: 7478
/ 4 Years ago, wed, june 24, 2020, 12:00:00
As I like the "lines-between-class-members"
rule, I'd like to enforce spaces between my classes' functions, but in the same time I want the properties declarations packed at the beginning of my classes in the following format:
class Foo {
a: number;
b: number;
c: string;
d: string;
constructor() {
// constructor stuff
}
doSomething() {
// do something
}
}
Is there a way to ignore this rule specifically on types declarations?
More From » typescript