Skip to content

Commit

Permalink
ci(lint): disable for ... of rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Sep 27, 2021
1 parent 5ea665f commit 9181e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function convert<Q extends number | bigint>(quantity: Q, from: Unit): Con

let bestUnit: typeof family[number][Generated.BestIndex.Sym] = baseUnit;

// eslint-disable-next-line @typescript-eslint/prefer-for-of
// eslint-disable-next-line unicorn/no-for-loop, @typescript-eslint/prefer-for-of
for (let i = 0; i < family.length; i++) {
const best = family[i];
if (quantity >= best[Generated.BestIndex.Value]) {
Expand Down

0 comments on commit 9181e11

Please sign in to comment.