Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: activate no-multiple-empty-lines rule
This enables the `no-multiple-empty-lines` eslint rule for the docs.
  • Loading branch information
BridgeAR committed Feb 13, 2018
commit 2c5cf8e68c772939e052c436a94d71d8de85a4ca
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