istanbuljs/nyc

nyc check-coverage: new command flag

Ouverte

#432 ouverte le 1 nov. 2016

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (362 forks)batch import
Great First Contributionenhancementhelp wanted

Métriques du dépôt

Stars
 (5 766 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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?

Guide contributeur