Prefix unused variables with an underscore

This commit is contained in:
Simon Ser 2024-09-28 21:44:23 +02:00
parent b89fd604d0
commit 97920ff7f6
3 changed files with 4 additions and 4 deletions

View file

@ -272,7 +272,7 @@ export function parseTargetPrefix(s, allowedPrefixes = STD_MEMBERSHIPS) {
const alphaNum = (() => {
try {
return new RegExp(/^[\p{L}0-9]$/, "u");
} catch (e) {
} catch (_e) {
return new RegExp(/^[a-zA-Z0-9]$/, "u");
}
})();