# if-newline Enforce line breaks between `if` statements and their consequent / alternate expressions. Only applicable for inline `if` statements. ## Rule Details ```js // 👎 bad if (foo) bar() ``` ```js // 👍 good if (foo) bar() ```