From 551a9d00ad3a52a0ef20520525cf4d6a2208f6df Mon Sep 17 00:00:00 2001 From: Colton Ehrman Date: Fri, 12 Apr 2024 10:49:28 -0500 Subject: [PATCH] fix: next lint --report-unused-disabled-directives command This option accepts an argument, but was not looking for one which resulted in unexpected behavior. --- packages/next/src/bin/next.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/bin/next.ts b/packages/next/src/bin/next.ts index af81e31b5c5ec..2178195eabea5 100755 --- a/packages/next/src/bin/next.ts +++ b/packages/next/src/bin/next.ts @@ -265,7 +265,7 @@ program 'Prevents comments from changing config or rules.' ) .option( - '--report-unused-disable-directives', + '--report-unused-disable-directives ', 'Adds reported errors for unused eslint-disable directives.' ) .option('--no-cache', 'Disables caching.')