refactor: Add lint rules for no unused vars and unused import (#9940)
This commit is contained in:
@@ -55,7 +55,7 @@ function moduleOrObjectParser(opt) {
|
||||
}
|
||||
try {
|
||||
return JSON.parse(opt);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
/* */
|
||||
}
|
||||
return opt;
|
||||
|
||||
Reference in New Issue
Block a user