I use arrow functions within my class, but "lines-between-class-members" doesn't work.
code:
class user {
public func1 = () => {
// some codes
}
public func2 = () => {
// some codes
}
public func3(){
// some codes
}
}
what I expect:
class user {
public func1 = () => {
// some codes
}
public func2 = () => {
// some codes
}
public func3(){
// some codes
}
}
However, the output now is:
class user {
public func1 = () => {
// some codes
}
public func2 = () => {
// some codes
}
public func3(){
// some codes
}
}
We see that func1 and func2 are not formatted correctly while func3 can be formatted.
It seems that "lines-between-class-members" doesn't support arrow functions.
I use arrow functions within my class, but "lines-between-class-members" doesn't work.
code:
what I expect:
However, the output now is:
We see that func1 and func2 are not formatted correctly while func3 can be formatted. It seems that "lines-between-class-members" doesn't support arrow functions.