Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: stricter no-multiple-empty-lines rule #18747

Closed
wants to merge 1 commit into from
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
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