@@ -780,37 +780,37 @@ ruleTester.run('order', rule, {
780
780
alphabetize : { order : 'desc' } ,
781
781
} ] ,
782
782
} ) ,
783
- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false `
783
+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true `
784
784
test ( {
785
785
code : `
786
786
import a from "foo";
787
787
import b from "foo-bar";
788
788
import c from "foo/bar";
789
789
import d from "foo/barfoo";
790
790
` ,
791
- options : [ { alphabetize : { order : 'asc' } , orderBySplitPaths : false } ] ,
791
+ options : [ { alphabetize : { order : 'asc' } , orderByFullPathString : true } ] ,
792
792
} ) ,
793
- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false
793
+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true
794
794
test ( {
795
795
code : `
796
796
import a from "foo";
797
797
import b from "foo-bar";
798
798
import c from "foo/foobar/bar";
799
799
import d from "foo/foobar/barfoo";
800
800
` ,
801
- options : [ { alphabetize : { order : 'asc' } , orderBySplitPaths : false } ] ,
801
+ options : [ { alphabetize : { order : 'asc' } , orderByFullPathString : true } ] ,
802
802
} ) ,
803
- // Option alphabetize: {order: 'desc'} with orderBySplitPaths: false
803
+ // Option alphabetize: {order: 'desc'} with orderByFullPathString: true
804
804
test ( {
805
805
code : `
806
806
import d from "foo/barfoo";
807
807
import c from "foo/bar";
808
808
import b from "foo-bar";
809
809
import a from "foo";
810
810
` ,
811
- options : [ { alphabetize : { order : 'desc' } , orderBySplitPaths : false } ] ,
811
+ options : [ { alphabetize : { order : 'desc' } , orderByFullPathString : true } ] ,
812
812
} ) ,
813
- // Option alphabetize: {order: 'desc'} with orderBySplitPaths: false and file names having non-alphanumeric characters.
813
+ // Option alphabetize: {order: 'desc'} with orderByFullPathString: true and file names having non-alphanumeric characters.
814
814
test ( {
815
815
code : `
816
816
import d from "foo/barfoo";
@@ -819,7 +819,7 @@ ruleTester.run('order', rule, {
819
819
import a from "foo";` ,
820
820
options : [ {
821
821
alphabetize : { order : 'desc' } ,
822
- orderBySplitPaths : false ,
822
+ orderByFullPathString : true ,
823
823
} ] ,
824
824
} ) ,
825
825
// Option alphabetize with newlines-between: {order: 'asc', newlines-between: 'always'}
@@ -2688,7 +2688,7 @@ ruleTester.run('order', rule, {
2688
2688
message : '`foo-bar` import should occur after import of `foo/barfoo`' ,
2689
2689
} ] ,
2690
2690
} ) ,
2691
- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false
2691
+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true
2692
2692
test ( {
2693
2693
code : `
2694
2694
import a from "foo";
@@ -2698,7 +2698,7 @@ ruleTester.run('order', rule, {
2698
2698
` ,
2699
2699
options : [ {
2700
2700
alphabetize : { order : 'asc' } ,
2701
- orderBySplitPaths : false ,
2701
+ orderByFullPathString : true ,
2702
2702
} ] ,
2703
2703
output : `
2704
2704
import a from "foo";
0 commit comments