diff --git a/.eslintrc.js b/.eslintrc.js index 9ab6638b10e4af..b630e21b5565d1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -350,7 +350,6 @@ module.exports = { 'jsdoc/check-tag-names': 'off', 'jsdoc/require-returns': 'off', 'jsdoc/require-property-description': 'off', - 'jsdoc/check-param-names': 'off', // Custom rules from eslint-plugin-node-core 'node-core/no-unescaped-regexp-dot': 'error', diff --git a/lib/internal/event_target.js b/lib/internal/event_target.js index 83908e66bfc48d..3bc2fbb81cb20c 100644 --- a/lib/internal/event_target.js +++ b/lib/internal/event_target.js @@ -443,7 +443,13 @@ class EventTarget { /** * @callback EventTargetCallback * @param {Event} event + */ + + /** * @typedef {{ handleEvent: EventTargetCallback }} EventListener + */ + + /** * @param {string} type * @param {EventTargetCallback|EventListener} listener * @param {{