style(all): adds tslint-ionic-rules

This commit is contained in:
Manuel Mtz-Almeida
2017-09-17 04:13:37 -04:00
parent 612947c072
commit fffa9b5460
70 changed files with 337 additions and 222 deletions

View File

@ -35,7 +35,7 @@ export function isCheckedProperty(a: any, b: any): boolean {
// not using strict comparison on purpose
return (a == b); // tslint:disable-line
};
}
export function assert(bool: boolean, msg: string) {
if (!bool) {
@ -262,4 +262,4 @@ export function hasFocusedTextInput() {
return activeElement.parentElement.querySelector(':focus') === activeElement;
}
return false;
}
}