Make WordPress Core

Changeset 63769


Ignore:
Timestamp:
09/21/2026 01:47:44 PM (8 weeks ago)
Author:
afercia
Message:

General: Enable the JSDoc no blank blocks and descriptions rules.

Enables the following JSDoc rules:

  • jsdoc/no-blank-blocks
  • jsdoc/no-blank-block-descriptions

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

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

See #66033.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.eslintrc-jsdoc.js

    r63766 r63769  
    6363                        } ],
    6464                        'jsdoc/check-types': 'error',
     65                        'jsdoc/no-blank-blocks': 'error',
     66                        'jsdoc/no-blank-block-descriptions': 'error',
    6567                        'jsdoc/require-description': 'error',
    6668                        'jsdoc/require-hyphen-before-param-description': [ 'error', 'never' ],
Note: See TracChangeset for help on using the changeset viewer.