refactor: Add lint rules for no unused vars and unused import (#9940)
This commit is contained in:
@@ -86,7 +86,7 @@ class NodeEngineCheck {
|
||||
file: file,
|
||||
nodeVersion: version
|
||||
});
|
||||
} catch(e) {
|
||||
} catch {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Ignoring file because it is not valid JSON: ${file}`);
|
||||
core.warning(`Ignoring file because it is not valid JSON: ${file}`);
|
||||
|
||||
Reference in New Issue
Block a user