bcoe / bcoe/c8

Should we have an `eslint-plugin-c8`?

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

Description

* **Version**: N/A
* **Platform**: N/A

I came across [eslint-plugin-istanbul](https://github.com/istanbuljs/eslint-plugin-istanbul#readme) which has rules around ignore comments. I did not see an `eslint-plugin-c8` ([404 link](https://www.npmjs.com/package/eslint-plugin-c8)), so I figured I would ask here if we wanted one.

I assume we would just fork `eslint-plugin-istanbul`, replace `Istanbul` strings with `c8`, and do a once-over to confirm any syntax differences.

Additionally, we could add a new rule that requires a number for `c8 ignore next`, with messaging that `c8 ignore next` does not ignore entire blocks, so maybe you wanted `start` and `stop`. _(I am new to C8, but I figure that would trip me up. I think the `start` + `stop` makes more sense for functions than `next `.)_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.