fix: improve indent for decorators (#114)
This commit is contained in:
parent
ae904df91e
commit
ae4e44e588
@ -58,6 +58,9 @@ module.exports = {
|
||||
'JSXEmptyExpression',
|
||||
'JSXSpreadChild',
|
||||
'TSTypeParameterInstantiation',
|
||||
'FunctionExpression > .params[decorators.length > 0]',
|
||||
'FunctionExpression > .params > :matches(Decorator, :not(:first-child))',
|
||||
'ClassBody.body > PropertyDefinition[decorators.length > 0] > .key',
|
||||
],
|
||||
offsetTernaryExpressions: true,
|
||||
}],
|
||||
|
Loading…
Reference in New Issue
Block a user