Prefer top-level type-only imports over inline type markers
ProprietaryReplaces inline type markers on named import specifiers with a top-level import type, splitting the statement in two where it also binds values. Replicates the autofix of the ESLint rule import-x/consistent-type-specifier-style under its default option, prefer-top-level.
org. openrewrite. javascript. imports. ConsistentTypeSpecifierStylemod run . --recipe= org. openrewrite. javascript. imports. ConsistentTypeSpecifierStyleInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.