Skip to content

Commit

Permalink
fix: next lint --report-unused-disabled-directives command
Browse files Browse the repository at this point in the history
This option accepts an argument, but was not looking for one
which resulted in unexpected behavior.
  • Loading branch information
coltonehrman committed Apr 12, 2024
1 parent c9c074c commit 551a9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/bin/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ program
'Prevents comments from changing config or rules.'
)
.option(
'--report-unused-disable-directives',
'--report-unused-disable-directives <type>',
'Adds reported errors for unused eslint-disable directives.'
)
.option('--no-cache', 'Disables caching.')
Expand Down

0 comments on commit 551a9d0

Please sign in to comment.