From 74621683773d8e10a453b7d25df30b5ff5493cf3 Mon Sep 17 00:00:00 2001 From: Lidang-Jiang Date: Sun, 29 Mar 2026 10:14:53 +0800 Subject: [PATCH] fix(lint): prefix unused options parameter with underscore Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Lidang-Jiang --- scripts/hooks/doc-file-warning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hooks/doc-file-warning.js b/scripts/hooks/doc-file-warning.js index ea685e25..a8e71262 100644 --- a/scripts/hooks/doc-file-warning.js +++ b/scripts/hooks/doc-file-warning.js @@ -44,7 +44,7 @@ function isSuspiciousDocPath(filePath) { * Exportable run() for in-process execution via run-with-flags.js. * Avoids the ~50-100ms spawnSync overhead when available. */ -function run(inputOrRaw, options = {}) { +function run(inputOrRaw, _options = {}) { let input; try { input = typeof inputOrRaw === 'string'