# Enforce new line before expect inside a suite This rule enforces that there is an empty line before `expect`. If `expect` is the first statement inside a test then rule is not enforced. ## Rule details This rule triggers a **warning** (is set to **1** by default) whenever there is no new line or another except before expect. The following pattern is considered a warning: ```js describe("", function() { it("", function() { var a = 1; expect(a).toBe(1); }); }); ``` The following patterns are not warnings: ```js describe("", function() { it("", function() { expect(1).toBe(1); }); }); ``` ```js describe("", function() { it("", function() { expect(1).toBe(1); }); }); ``` ```js describe("", function() { it("", function() { var a = 1; expect(a).toBe(1); }); }); ``` ```js describe("", function() { it("", function() { var a = 1; expect(a).toBe(1); expect(a).not.toBe(0); }); }); ```