Organize imports collation by rbuckton · Pull Request #52115 · microsoft/TypeScript (original) (raw)
Hm, here's one case it differs. Organize says:
import {
Baseline,
Compiler,
FileBasedTest,
FileBasedTestConfiguration,
getFileBasedTestConfigurationDescription,
getFileBasedTestConfigurations,
IO,
RunnerBase,
TestCaseParser,
TestRunnerKind,
} from "./_namespaces/Harness";
import * as Utils from "./_namespaces/Utils";
import * as compiler from "./_namespaces/compiler";
import * as ts from "./_namespaces/ts";
import * as vpath from "./_namespaces/vpath";
But simple-import-sort says:
import * as compiler from "./_namespaces/compiler";
import {
Baseline,
Compiler,
FileBasedTest,
FileBasedTestConfiguration,
getFileBasedTestConfigurationDescription,
getFileBasedTestConfigurations,
IO,
RunnerBase,
TestCaseParser,
TestRunnerKind,
} from "./_namespaces/Harness";
import * as ts from "./_namespaces/ts";
import * as Utils from "./_namespaces/Utils";
import * as vpath from "./_namespaces/vpath";
which seems correct. It doesn't seem like this PR is applying the rules to the paths?