@@ -2511,7 +2511,7 @@ ruleTester.run('order', rule, {
2511
2511
{ pattern : '@namespace' , group : 'external' , position : 'after' } ,
2512
2512
{ pattern : '@namespace/**' , group : 'external' , position : 'after' } ,
2513
2513
] ,
2514
- pathGroupsExcludedImportTypes : [ '@namespace' ] ,
2514
+ pathGroupsExcludedImportTypes : [ ] ,
2515
2515
} ,
2516
2516
] ,
2517
2517
errors : [
@@ -3554,38 +3554,6 @@ context('TypeScript', function () {
3554
3554
} ,
3555
3555
] ,
3556
3556
} ) ,
3557
- // Option sortTypesGroup: true and 'type' omitted from groups
3558
- test ( {
3559
- code : `
3560
- import c from 'Bar';
3561
- import type { AA } from 'abc';
3562
- import a from 'foo';
3563
- import type { A } from 'foo';
3564
-
3565
- import type { C } from 'dirA/Bar';
3566
- import b from 'dirA/bar';
3567
- import type { D } from 'dirA/bar';
3568
-
3569
- import index from './';
3570
- ` ,
3571
- ...parserConfig ,
3572
- options : [
3573
- {
3574
- alphabetize : { order : 'asc' } ,
3575
- groups : [ 'external' , 'internal' , 'index' ] ,
3576
- pathGroups : [
3577
- {
3578
- pattern : 'dirA/**' ,
3579
- group : 'internal' ,
3580
- } ,
3581
- ] ,
3582
- 'newlines-between' : 'always' ,
3583
- pathGroupsExcludedImportTypes : [ ] ,
3584
- // Becomes a no-op without "type" in groups
3585
- sortTypesGroup : true ,
3586
- } ,
3587
- ] ,
3588
- } ) ,
3589
3557
test ( {
3590
3558
code : `
3591
3559
import c from 'Bar';
@@ -6877,7 +6845,7 @@ flowRuleTester.run('order', rule, {
6877
6845
} ,
6878
6846
} ,
6879
6847
] ,
6880
- pathGroupsExcludedImportTypes : [ 'react' ] ,
6848
+ pathGroupsExcludedImportTypes : [ ] ,
6881
6849
alphabetize : {
6882
6850
order : 'asc' ,
6883
6851
} ,
0 commit comments