[Rules | TS,ES]: Update rule 'padding-line-between-statements'
malashkevich opened this issue · comments
Rule: https://github.com/akveo/styleguide/blob/master/typescript.md#vertical-whitespace-
Currently, it's defined like this:
'padding-line-between-statements': [
'error',
{
blankLine: 'always',
prev: 'import',
next: '*'
},
{
blankLine: 'any',
prev: 'import',
next: 'import'
}
],
It's necessary to add following rule as well: Between methods and properties in a class or object literal
It seems it's impossible to add the rule which will check for class methods only. There is the rule lines-between-class-members
but it's applied to all members, not only methods.
So it seems that it's not possible at the moment to check this rule programmatically.