chore(): enable "prefer-for-of"

This commit is contained in:
Manu Mtz.-Almeida
2018-07-30 00:11:04 +02:00
parent d1fd1c5276
commit b0ed4265eb
7 changed files with 69 additions and 76 deletions

View File

@ -76,8 +76,7 @@ export function matches(view: ViewController | undefined, id: string, params: Co
}
// Test for A's keys different from B.
for (let i = 0; i < keysA.length; i++) {
const key = keysA[i];
for (const key of keysA) {
if (currentParams[key] !== params[key]) {
return false;
}