Type object
File match .nycrc .nycrc.json .nycrc.yaml .nycrc.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/istanbul/latest.json
Source https://www.schemastore.org/nycrc.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

extends string

Name of configuration to extend from.

all boolean

Whether or not to instrument all files (not just the ones touched by your test suite).

Default: false
check-coverage boolean

Check whether coverage is within thresholds, fail if not

Default: false
extension string[]

List of extensions that nyc should attempt to handle in addition to .js

Default:
[
  ".js",
  ".cjs",
  ".mjs",
  ".ts",
  ".tsx",
  ".jsx"
]
include string[]

List of files to include for coverage.

Default:
[
  "**"
]
exclude string[]

List of files to exclude for coverage.

Default:
[
  "coverage/**"
]
reporter string[]

The names of custom reporter to show coverage results.

Default:
[
  "text"
]
report-dir string

Where to put the coverage report files.

Default: "./coverage"
skip-full boolean

Don't show files with 100% statement, branch, and function coverage

Default: false
temp-dir string

Directory to output raw coverage information to.

Default: "./.nyc_output"