refactor: Add lint rules for no unused vars and unused import (#9940)

This commit is contained in:
Lucas Coratger
2025-11-22 22:12:34 +01:00
committed by GitHub
parent 9ed9af48d1
commit 69a925879e
32 changed files with 66 additions and 36 deletions

View File

@@ -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}`);