Make WordPress Core


Ignore:
Timestamp:
09/11/2026 06:29:08 AM (11 hours ago)
Author:
afercia
Message:

General: Enable the JSDoc rule require-param-description.

Enables the JSDoc rule require-param-description and fixes all the reported violations.
Part of the effort to improve JS inline documentation for 7.2.

Developed in https://github.com/WordPress/wordpress-develop/pull/13475

Props afercia, westonruter.
See #66033.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/views/menu.js

    r63516 r63598  
    5252         * Creates a view for the given options and id.
    5353         *
    54          * @param {Object} options
    55          * @param {string} id
     54         * @param {Object} options The options for creating the view.
     55         * @param {string} id      The id of the view to create.
    5656         * @return {wp.media.View} The view instance.
    5757         */
Note: See TracChangeset for help on using the changeset viewer.