istanbuljs/nyc

nyc check-coverage: new command flag

開放

#432 建立於 2016年11月1日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (363 個分叉)batch import
Great First Contributionenhancementhelp wanted

倉庫指標

星標
 (5,766 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hello! Just want to suggest new CLI flag for the check-coverage command executes it like all other flags are set to 100.

npm check-coverage --max

instead

nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100

It looks visually better and shorter in the package.json.

Also why not to be more configurable like --max 90 to sets everything to 100, but branches to 90.

Better flag name?

貢獻者指南