refactor: Add lint rules for no unused vars and unused import (#9940)
This commit is contained in:
@@ -13,7 +13,7 @@ function mountOnto(router) {
|
||||
function parseURL(urlString) {
|
||||
try {
|
||||
return new URL(urlString);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user