c8 icon indicating copy to clipboard operation
c8 copied to clipboard

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

Open connorjs opened this issue 2 years ago • 0 comments

  • Version: N/A
  • Platform: N/A

I came across eslint-plugin-istanbul which has rules around ignore comments. I did not see an eslint-plugin-c8 (404 link), 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 <num>.)

connorjs avatar Mar 10 '23 22:03 connorjs