diff --git a/doc/.eslintrc.yaml b/doc/.eslintrc.yaml index 8038836fe310db..c8c1612e3a100b 100644 --- a/doc/.eslintrc.yaml +++ b/doc/.eslintrc.yaml @@ -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}] diff --git a/doc/api/vm.md b/doc/api/vm.md index 824cd4d40345a3..e4ea6ca87a0f7e 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -93,7 +93,6 @@ const contextifiedSandbox = vm.createContext({ secret: 42 }); s; `, { context: contextifiedSandbox }); - // Step 2 // // "Link" the imported dependencies of this Module to it. @@ -132,7 +131,6 @@ const contextifiedSandbox = vm.createContext({ secret: 42 }); } await bar.link(linker); - // Step 3 // // Instantiate the top-level Module. @@ -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