Add more eslint rules

This commit is contained in:
Vendicated 2022-10-08 20:36:57 +02:00
parent 0109381a4f
commit dea34503ef
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
13 changed files with 33 additions and 21 deletions

View file

@ -7,7 +7,7 @@ function strEnum<T extends Record<string, string>>(obj: T): T {
for (const key in obj) {
o[key] = obj[key] as any;
o[obj[key]] = key as any;
};
}
return Object.freeze(o);
}