@902labs/nyc-config 中文文档教程
nyc-config-902labs
902 Labs 的一个配置 - 在 nyc 上的意见
Installation
要使用,在 .nycrc
中,使用以下代码:
{
"extends": "nyc-config-902labs",
"include": ["src/**/*.js"]
}
或者,要获得严格的配置(需要 100% 的代码覆盖率):
{
"extends": "nyc-config-902labs/strict",
"include": ["src/**/*.js"]
}
nyc-config-902labs
A config for 902 Labs - opinions on nyc
Installation
To use, in .nycrc
, use the following code:
{
"extends": "nyc-config-902labs",
"include": ["src/**/*.js"]
}
or, to get the strict config (100% code coverage required):
{
"extends": "nyc-config-902labs/strict",
"include": ["src/**/*.js"]
}