fix: improve indent for decorators (#114)
This commit is contained in:
@@ -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,
|
||||
}],
|
||||
|
Reference in New Issue
Block a user