[wp-trac] [WordPress Trac] #64662: Add TypeScript static analysis for core JavaScript files
WordPress Trac
noreply at wordpress.org
Tue Feb 17 21:45:58 UTC 2026
#64662: Add TypeScript static analysis for core JavaScript files
------------------------------+-----------------------------
Reporter: westonruter | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: javascript |
------------------------------+-----------------------------
For #64661, a [https://github.com/WordPress/wordpress-develop/pull/10900
PR] is proposed which adds TypeScript checking for the scripts related to
the CodeMirror code editor integrations. With that in place, core should
start expanding the scope of which JS files are checked to ensure code
quality and fix subtle bugs. The same is being done for PHP with PHPStan
in #61175.
Note that TypeScript is already being used in Gutenberg. See
https://make.wordpress.org/core/2021/03/18/proposal-native-typescript-
support-in-gutenberg/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64662>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list