From f42e06d49ff7b4b2c4a176be6029c00ad94aa9d9 Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Mon, 22 Jun 2020 14:49:17 +0200 Subject: [PATCH] Docs: fix no-multiple-empty-lines examples (fixes #13432) --- docs/rules/no-multiple-empty-lines.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/rules/no-multiple-empty-lines.md b/docs/rules/no-multiple-empty-lines.md index 836cb18e471..aff6c2e6f1b 100644 --- a/docs/rules/no-multiple-empty-lines.md +++ b/docs/rules/no-multiple-empty-lines.md @@ -23,6 +23,8 @@ Examples of **incorrect** code for this rule with the default `{ "max": 2 }` opt var foo = 5; + + var bar = 3; ``` @@ -33,6 +35,7 @@ Examples of **correct** code for this rule with the default `{ "max": 2 }` optio var foo = 5; + var bar = 3; ``` @@ -45,7 +48,10 @@ Examples of **incorrect** code for this rule with the `{ max: 2, maxEOF: 0 }` op var foo = 5; + var bar = 3; + + ``` Examples of **correct** code for this rule with the `{ max: 2, maxEOF: 0 }` options: @@ -55,6 +61,7 @@ Examples of **correct** code for this rule with the `{ max: 2, maxEOF: 0 }` opti var foo = 5; + var bar = 3; ``` @@ -92,8 +99,10 @@ Examples of **incorrect** code for this rule with the `{ max: 2, maxBOF: 1 }` op ```js /*eslint no-multiple-empty-lines: ["error", { "max": 2, "maxBOF": 1 }]*/ + var foo = 5; + var bar = 3; ``` @@ -104,6 +113,7 @@ Examples of **correct** code for this rule with the `{ max: 2, maxBOF: 1 }` opti var foo = 5; + var bar = 3; ```