Make WordPress Core

Changeset 61544 for trunk/.jshintrc


Ignore:
Timestamp:
01/28/2026 05:24:37 PM (8 months ago)
Author:
westonruter
Message:

Build/Test Tools: Bump esversion from 10 to 11 in JSHint config.

This updates the core configuration to allow JS language features which area already shipping in core via Gutenberg packages. Obsolete /* jshint esversion: 6 */ comments are also removed from JS files.

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

Follow-up to [59963].

Props westonruter, jonsurrell, mukesh27.
See #63077.
Fixes #64562.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.jshintrc

    r59963 r61544  
    44        "eqeqeq": true,
    55        "eqnull": true,
    6         "esversion": 10,
     6        "esversion": 11,
    77        "expr": true,
    88        "immed": true,
Note: See TracChangeset for help on using the changeset viewer.