Move to ECMAScript 6

MSAL

Determine how many of a repository's JavaScript and TypeScript variable declarations still use var rather than let or const. A var that can't become let without changing behavior, such as a top-level one in a classic script or an exported or ambient one, isn't counted. Vendored, bundled and build-output files are skipped.

io.moderne.devcenter.EcmaScriptModernization

Optional

The recipe to use to upgrade.

mod run . --recipe=io.moderne.devcenter.EcmaScriptModernization

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.