tools icon indicating copy to clipboard operation
tools copied to clipboard

feat(rome_js_analyze): `noSequences`

Open Conaclos opened this issue 1 year ago • 2 comments

Summary

Closes: #3932

This implements ESlint's rule no-sequences.

In contrast to ESLint, we do not support the option allowInParentheses (enabled by default in ESLint ; disabled in Rome).

I am wondering whether we should rename the rule to noComaOperator?

Test Plan

Unit and doc tests included (copied from ESLint).

Conaclos avatar Dec 08 '22 19:12 Conaclos