chore(tslint): update tslint rules and fix errors (#5747)

* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
This commit is contained in:
Manol Donev
2018-04-26 18:36:32 +03:00
committed by GitHub
parent a767c8efd4
commit 03cfc0cee3
152 changed files with 2198 additions and 2185 deletions

View File

@@ -142,7 +142,7 @@ export function test_setInterval_callbackCalledWithExtraArgs(done) {
if (counter === 4) {
const end = TKUnit.time();
timer.clearInterval(id);
done(end - start > 250 ? new Error('setInterval too slow.') : null);
done(end - start > 250 ? new Error("setInterval too slow.") : null);
}
}, 50, rnd);
};
@@ -156,7 +156,7 @@ export function test_setInterval_callbackShouldBeCleared(done) {
// >> (hide)
const end = TKUnit.time();
timer.clearInterval(id);
done(end - start > 150 ? new Error('setInterval too slow.') : null);
done(end - start > 150 ? new Error("setInterval too slow.") : null);
// << (hide)
timer.clearInterval(id);
}, 50);