Fix a bunch of linter errors
diff --git a/src/utils/calculate.ts b/src/utils/calculate.ts
index 9bdef3b..6d0c55f 100644
--- a/src/utils/calculate.ts
+++ b/src/utils/calculate.ts
@@ -36,7 +36,7 @@
}
let int = 0n;
- for(const perm of permissions) {
+ for (const perm of permissions) {
int += BigInt(2 ** array.indexOf(perm));
}
return int.toString(16);
@@ -47,7 +47,10 @@
array = logs;
}
const permissions = [];
- const int = (BigInt("0x" + permissionsHex)).toString(2).split("").reverse();
+ const int = BigInt("0x" + permissionsHex)
+ .toString(2)
+ .split("")
+ .reverse();
for (const index in int) {
if (int[index] === "1" && array.length > index) {
permissions.push(array[index]);
@@ -56,9 +59,4 @@
return permissions;
};
-export {
- toHexInteger,
- toHexArray,
- tickets,
- logs
-};
\ No newline at end of file
+export { toHexInteger, toHexArray, tickets, logs };