Using the rule "lines-between-class-members": [true, 1]:
export default {
foo() {},
}
must have 1 new line(s) between class methods, see docs for how to configure (lines-between-class-members)
Adding a blank line above foo() {} "fixes" it, but conflicts with no-empty-line-after-opening-brace and it's not really the case that it is "between" class members. This is not even a class, so the rule shouldn't apply anyway.
Using the rule
"lines-between-class-members": [true, 1]
:Adding a blank line above
foo() {}
"fixes" it, but conflicts withno-empty-line-after-opening-brace
and it's not really the case that it is "between" class members. This is not even a class, so the rule shouldn't apply anyway.