chore(lint): require semicolons
Relying on ASI (automatic semicolon insertion) is allowed in TypeScript because JavaScript allows it. However, when we run clang-format it doesn’t understand that these statements are terminated with a newline and changes the indentation, in bad cases even breaking the code. Fixes #817
This commit is contained in:
@ -100,7 +100,7 @@ export class AppViewManagerUtils {
|
||||
if (atIndex == 0) {
|
||||
sibling = null;
|
||||
} else {
|
||||
sibling = ListWrapper.last(viewContainer.views[atIndex - 1].rootElementInjectors)
|
||||
sibling = ListWrapper.last(viewContainer.views[atIndex - 1].rootElementInjectors);
|
||||
}
|
||||
var elementInjector = contextView.elementInjectors[contextBoundElementIndex];
|
||||
for (var i = view.rootElementInjectors.length - 1; i >= 0; i--) {
|
||||
|
Reference in New Issue
Block a user