File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -4932,6 +4932,28 @@ import { privateA } from "#private/a";
4932
4932
} ,
4933
4933
] ,
4934
4934
} ) ,
4935
+ // test followTsOrganizeImports: true and splitted node:* group
4936
+ tValid ( {
4937
+ code : `import fs from 'node:fs';
4938
+ import path from "path";
4939
+
4940
+ import { internA } from "#a";
4941
+ import { privateA } from "#private/a";
4942
+ import { scopeA } from "@a/a";
4943
+ import a from 'a';
4944
+ import 'format.css';
4945
+ import { glob } from 'glob';
4946
+ import index from './';
4947
+ import { localA } from "./a";
4948
+ import sibling from './foo';
4949
+ ` ,
4950
+ ...parserConfig ,
4951
+ options : [
4952
+ {
4953
+ followTsOrganizeImports : true ,
4954
+ } ,
4955
+ ] ,
4956
+ } ) ,
4935
4957
] ,
4936
4958
invalid : [
4937
4959
// Option alphabetize: {order: 'asc'}
You can’t perform that action at this time.
0 commit comments