Prefix unused variables with an underscore
This commit is contained in:
@@ -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");
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user