Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch coverage from nyc to c8 #3398

Merged
merged 1 commit into from Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.