doc,lib,tools: align multiline comments · nodejs/node@59d159f · GitHub
Skip to content

Commit 59d159f

Browse files
Trottdanielleadams
authored andcommitted
doc,lib,tools: align multiline comments
These changes are in preparation for enabling a JSDoc lint rule. PR-URL: #41109 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 179886f commit 59d159f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/tls.md

Lines changed: 1 addition & 1 deletion

doc/api/url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ import { urlToHttpOptions } from 'url';
12331233
const myURL = new URL('https://a:b@測試?abc#foo');
12341234

12351235
console.log(urlToHttpOptions(myURL));
1236-
/**
1236+
/*
12371237
{
12381238
protocol: 'https:',
12391239
hostname: 'xn--g6w251d',
@@ -1252,7 +1252,7 @@ const { urlToHttpOptions } = require('url');
12521252
const myURL = new URL('https://a:b@測試?abc#foo');
12531253

12541254
console.log(urlToHttpOptions(myUrl));
1255-
/**
1255+
/*
12561256
{
12571257
protocol: 'https:',
12581258
hostname: 'xn--g6w251d',

lib/internal/bootstrap/loaders.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class NativeModule {
192192
/**
193193
* A map from the module IDs to the module instances.
194194
* @type {Map<string, NativeModule>}
195-
*/
195+
*/
196196
static map = new SafeMap(
197197
ArrayPrototypeMap(moduleIds, (id) => [id, new NativeModule(id)])
198198
);

tools/eslint-rules/rules-utils.js

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)