bcoe / bcoe/c8

Support `//` comments

Open
#221 3 comments 3 reactions 0 assignees View on GitHub
feature-request
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

* **Version**: 12.16.2
* **Platform**: Darwin Kernel Version 19.4.0

I'd like to see support for the simpler `// c8 ignore next` comments.

Also `// c8 ignore if` and `// c8 ignore else` (even for ternary if possible), as it is nice not to be overaggressive in suppressing missing coverage.

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by locating c8's handling of coverage-ignore comments and the tests covering existing ignore directives. Add support for `// c8 ignore next`, `// c8 ignore if`, and `// c8 ignore else`, including ternary behavior if supported, and verify the requested suppression cases with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.