Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docs: fix no-multiple-empty-lines examples (fixes #13432) (#13433)
  • Loading branch information
mdjermanovic committed Jul 3, 2020
1 parent ff5317e commit 0a463db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/rules/no-multiple-empty-lines.md
Expand Up @@ -23,6 +23,8 @@ Examples of **incorrect** code for this rule with the default `{ "max": 2 }` opt

var foo = 5;



var bar = 3;
```

Expand All @@ -33,6 +35,7 @@ Examples of **correct** code for this rule with the default `{ "max": 2 }` optio

var foo = 5;


var bar = 3;
```

Expand All @@ -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:
Expand All @@ -55,6 +61,7 @@ Examples of **correct** code for this rule with the `{ max: 2, maxEOF: 0 }` opti

var foo = 5;


var bar = 3;
```

Expand Down Expand Up @@ -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;
```

Expand All @@ -104,6 +113,7 @@ Examples of **correct** code for this rule with the `{ max: 2, maxBOF: 1 }` opti

var foo = 5;


var bar = 3;
```

Expand Down

0 comments on commit 0a463db

Please sign in to comment.