$ cnpm install @putout/plugin-coverage
????Putout plugin helps with coverage configuration files, like :.nycrc.json, c8rc.json.
Checkout in ????Putout Editor.
npm i @putout/plugin-coverage -D
{
"rules": {
"coverage/add-to-exclude": ["on", {
"dismiss": ["*.spec.*"]
}],
"coverage/sort-ignore": "on",
"coverage/remove-files": "on"
}
}
{
"exclude": [
- "test"
+ "test",
+ *.config.*
]
}
{
"exclude": [
"**/*.spec.*",
"**/fixture",
"test",
".*.*",
"**/*.config.*"
]
}
{
"exclude": [
"**/*.spec.*",
"**/fixture",
"**/*.config.*",
".*.*",
"test"
]
}
/
-βββ .nyc_output
-βββ coverage
MIT
Copyright 2013 - present © cnpmjs.org | Home |