Make WordPress Core


Ignore:
Timestamp:
09/11/2026 10:50:50 AM (21 hours ago)
Author:
afercia
Message:

General: Fix indentation and alignments in JavaScript inline documentation blocks.

Enables the following JSDoc rules:

  • jsdoc/check-alignment
  • jsdoc/check-indentation
  • jsdoc/check-line-alignment
  • jsdoc/require-hyphen-before-param-description -> never

Fixes all the reported violations. Also removes hyphens before descriptions.

Part of the effort to improve JS inline documentation for 7.2.

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

Props afercia, mukesh27.
See #66033.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/models/query.js

    r63598 r63600  
    88 *
    99 * Note: Do NOT change this.args after the query has been initialized.
    10  *       Things will break.
     10 * Things will break.
    1111 *
    1212 * @memberOf wp.media.model
Note: See TracChangeset for help on using the changeset viewer.