citty icon indicating copy to clipboard operation
citty copied to clipboard

feat: warn unknown options

Open kricsleo opened this issue 8 months ago • 1 comments

resolves https://github.com/unjs/citty/issues/201

This PR adds support for warning about unknown options.
This is enabled by default but can be disabled by setting meta.allowUnknownOptions: true.

kricsleo avatar Apr 21 '25 06:04 kricsleo

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@6341dc3). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #202   +/-   ##
=======================================
  Coverage        ?   94.18%           
=======================================
  Files           ?        8           
  Lines           ?      533           
  Branches        ?      178           
=======================================
  Hits            ?      502           
  Misses          ?       31           
  Partials        ?        0           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Apr 21 '25 06:04 codecov[bot]