Victorien Elvinger

Results 326 comments of Victorien Elvinger

I could suggest another name: `noFallthoughSwitchClause`. I would like to implement this rule. :)

I am taking some time to explore implementation space. I think about using `ControlFlowGraph` as rule's query and then traversing the graph in order to find every `switch statement`. This...

> Just ran into a production bug that could have been prevented by this rule. Definitely looking forward to this one Do you use TSC? If it is the case,...

> There isn't a need for the control flow graph here. ESLint implementation seems quite straightforward. ESLint seems to use a notion of [reachability](https://github.com/eslint/eslint/blob/main/lib/rules/no-fallthrough.js#L160). This is a sign of control...

@edvardchen Are you still interested in this rule?

You are welcome :) It could be nice to have two distinct messages for helping to understand why the rule reports this case.

@notmd Are you still interested in this contribution?

@notmd Thanks for the quick answer. We will open another Pull Request and will include your contributions as a starting point.

Do we plan to release a nightly before the 12.0.0 release? We should clarify which issues should be solved before this release.