+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Conversation

IWANABETHATGUY
Copy link
Contributor

Summary

  1. Only emit diagnostic when alternate of JsIfStatement is JsBlockStatement
  2. Fix 🐛 Linter js/noNegationElse becomes unreadable with else if blocks #2999

Test Plan

  1. Check out the modified snapshot

@ematipico ematipico changed the title fix: 🐛 (rome_js_analyze): Only emit diagnostic when alternate of JsIfStatement is JsBlockStatement fix(rome_js_analyze): Only emit diagnostic when alternate of JsIfStatement is JsBlockStatement Aug 4, 2022
@ematipico
Copy link
Contributor

@leops is the PR good for merging?

@leops
Copy link
Contributor

leops commented Aug 8, 2022

Well if no one has any objection to it I think it can be merged yes

@ematipico ematipico merged commit 1bccb64 into rome:main Aug 8, 2022
@IWANABETHATGUY IWANABETHATGUY deleted the fix/2999 branch August 8, 2022 10:09
IWANABETHATGUY added a commit to IWANABETHATGUY/tools that referenced this pull request Aug 10, 2022
…tement` is `JsBlockStatement` (rome#3001)

* fix: 🐛 (rome_js_analyze): fix 2999

* fix: 🐛 cargo lnit

* fix: 🐛 cr issue

* fix: 🐛 cr issue

* fix: 🐛 cr issue

* fix: 🐛 cr issue
IWANABETHATGUY added a commit to IWANABETHATGUY/tools that referenced this pull request Aug 22, 2022
…tement` is `JsBlockStatement` (rome#3001)

* fix: 🐛 (rome_js_analyze): fix 2999

* fix: 🐛 cargo lnit

* fix: 🐛 cr issue

* fix: 🐛 cr issue

* fix: 🐛 cr issue

* fix: 🐛 cr issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Linter js/noNegationElse becomes unreadable with else if blocks

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载