Add eslint radix rule for parseInt

This commit is contained in:
Bill Thornton 2023-03-09 00:01:05 -05:00
parent 9e784034d3
commit 329cf77c81
42 changed files with 90 additions and 91 deletions

View file

@ -14,7 +14,7 @@ function calculateOffset(textarea) {
let offset = 0;
for (let i = 0; i < props.length; i++) {
offset += parseInt(style[props[i]]);
offset += parseInt(style[props[i]], 10);
}
return offset;
}