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