Update packages/@romejs/js-compiler/transforms/lint/noCompareNegZero.ts
MODIFY
packages/@romejs/js-compiler/transforms/lint/noCompareNegZero.ts
packages/@romejs/js-compiler/transforms/lint/noCompareNegZero.ts
@@ -28,6 +28,7 @@ export default {
name: 'noCompareNegZero',
enter(path: Path) {
const {node} = path;
+
if (
node.type === 'BinaryExpression' &&
OPERATORS_TO_CHECK.has(node.operator) &&

Update packages/@romejs/js-compiler/transforms/lint/noCompareNegZero.ts

Co-Authored-By: Sebastian <853712+sebmck@users.noreply.github.com>