Skip to content

Commit

Permalink
doc: activate no-multiple-empty-lines rule
Browse files Browse the repository at this point in the history
This enables the `no-multiple-empty-lines` eslint rule for the docs.

PR-URL: #18747
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
  • Loading branch information
BridgeAR committed Feb 16, 2018
1 parent e9ac80b commit 69f7ce9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions doc/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ rules:
no-var: error
prefer-const: error
prefer-rest-params: error

# Stylistic Issues
no-multiple-empty-lines: [error, {max: 1, maxEOF: 0, maxBOF: 0}]
3 changes: 0 additions & 3 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });
s;
`, { context: contextifiedSandbox });


// Step 2
//
// "Link" the imported dependencies of this Module to it.
Expand Down Expand Up @@ -132,7 +131,6 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });
}
await bar.link(linker);


// Step 3
//
// Instantiate the top-level Module.
Expand All @@ -142,7 +140,6 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });

bar.instantiate();


// Step 4
//
// Evaluate the Module. The evaluate() method returns a Promise with a single
Expand Down

0 comments on commit 69f7ce9

Please sign in to comment.