Closed
Description
Example
{
"rules": {
"@typescript-eslint/indent": "error"
}
}
export type Foo = A
| B
| C;
Expected Result
Identation is linted.
Actual Result
Indentation is not linted.
Additional Info
It seems we simply don't deal with type aliases.
We should probably be handling TSIntersectionType
and TSUnionType
. I am happy to PR this but wasn't sure what the best solution is... maybe to transform into a LogicalExpression
?