istanbuljs/nyc

nyc check-coverage: new command flag

Open

#432 创建于 2016年11月1日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (5,468 star) (392 fork)batch import
Great First Contributionenhancementhelp wanted

描述

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?

贡献者指南

nyc check-coverage: new command flag · istanbuljs/nyc#432 | Good First Issue