Skip to content

Commit

Permalink
Switch coverage from nyc to c8 (#3398)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Dec 1, 2021
1 parent 36f068e commit 8540df2
Show file tree
Hide file tree
Showing 48 changed files with 344 additions and 1,471 deletions.
22 changes: 22 additions & 0 deletions .c8rc.json
@@ -0,0 +1,22 @@
{
"all": true,
"include": ["src/"],
"exclude": [
"src/**/index.ts",
"src/**/*-fuzz.ts",
"src/jsutils/Maybe.ts",
"src/jsutils/ObjMap.ts",
"src/jsutils/PromiseOrValue.ts",
"src/utilities/typedQueryDocumentNode.ts"
],
"clean": true,
"temp-directory": "coverage",
"report-dir": "coverage",
"skip-full": true,
"reporter": ["json", "html", "text"],
"check-coverage": true,
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100
}
1 change: 0 additions & 1 deletion .eslintrc.yml
Expand Up @@ -22,7 +22,6 @@ rules:
internal-rules/only-ascii: error
internal-rules/no-dir-import: error
internal-rules/require-to-string-tag: off
internal-rules/require-coverage-ignore-reason: error

##############################################################################
# `eslint-plugin-node` rule list based on `v11.1.x`
Expand Down
16 changes: 0 additions & 16 deletions .nycrc.yml

This file was deleted.

0 comments on commit 8540df2

Please sign in to comment.