diff --git a/.eslintrc.js b/.eslintrc.js index dd7c4ae8cb5f09..1f2e637b9b3eee 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -352,7 +352,6 @@ module.exports = { 'jsdoc/check-param-names': 'off', 'jsdoc/tag-lines': 'off', 'jsdoc/require-returns-type': 'off', - 'jsdoc/check-alignment': 'off', // Custom rules from eslint-plugin-node-core 'node-core/no-unescaped-regexp-dot': 'error', diff --git a/doc/api/tls.md b/doc/api/tls.md index dffefa03842a5f..c45c778da76ac5 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1010,7 +1010,7 @@ const keyingMaterial = tlsSocket.exportKeyingMaterial( 128, 'client finished'); -/** +/* Example return value of keyingMaterial: } - */ + */ static map = new SafeMap( ArrayPrototypeMap(moduleIds, (id) => [id, new NativeModule(id)]) ); diff --git a/tools/eslint-rules/rules-utils.js b/tools/eslint-rules/rules-utils.js index 462ab7c2ff3ab8..1cba9218a1d4b2 100644 --- a/tools/eslint-rules/rules-utils.js +++ b/tools/eslint-rules/rules-utils.js @@ -30,9 +30,9 @@ module.exports.isRequired = function(node, modules) { }; /** -* Return true if common module is required -* in AST Node under inspection -*/ + * Return true if common module is required + * in AST Node under inspection + */ const commonModuleRegExp = new RegExp(/^(\.\.\/)*common(\.js)?$/); module.exports.isCommonModule = function(node) { return isRequireCall(node) &&