[wp-trac] [WordPress Trac] #64558: CodeMirror: JavaScript linting is incompatible with newer language features
WordPress Trac
noreply at wordpress.org
Tue Feb 10 22:26:19 UTC 2026
#64558: CodeMirror: JavaScript linting is incompatible with newer language features
--------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 7.0
Component: External Libraries | Version: 4.9.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: javascript
--------------------------------------+--------------------------
Comment (by westonruter):
Note: `espree` v9.6.1 is used because it is already installed via
`@wordpress/scripts` => `eslint` (v8.45.0) => `espree` (9.6+).
There is a newer version, v11.1.0, however. We should upgrade once we bump
the minimum version of Node and/or `@wordpress/scripts` is updated to use
a newer ESLint. Or maybe this is irrelevant and can go ahead and use
v11.1.0 now. In any case, we can make that upgrade in a subsequent commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64558#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list