From ec36320b68ef6a57eab008fbaaf90cf1d3a2d95e Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 24 Jun 2022 11:34:23 +0200 Subject: [PATCH] docs(README): link to nyc configuration file instructions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ff87369d..c2d18eb6 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,8 @@ This will generate a more detailed, interactive coverage summary that you can ac ![](.github/assets/coverage-report-html.png) +The `nyc` command will respect [nyc configuration files](https://github.com/istanbuljs/nyc#common-configuration-options) if you have them in your project. + If you are using tools like [Codecov](https://codecov.io/), the coverage will be detected automatically. In case you have multiple coverage files in the coverage folder, they will be merged automatically by Codecov. If you want certain parts of your code to be deliberately ignored, you can use istanbul [parsing hints](https://github.com/istanbuljs/nyc#parsing-hints-ignoring-lines).