@@ -780,37 +780,37 @@ ruleTester.run('order', rule, {
780780 alphabetize : { order : 'desc' } ,
781781 } ] ,
782782 } ) ,
783- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false `
783+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true `
784784 test ( {
785785 code : `
786786 import a from "foo";
787787 import b from "foo-bar";
788788 import c from "foo/bar";
789789 import d from "foo/barfoo";
790790 ` ,
791- options : [ { alphabetize : { order : 'asc' } , orderBySplitPaths : false } ] ,
791+ options : [ { alphabetize : { order : 'asc' } , orderByFullPathString : true } ] ,
792792 } ) ,
793- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false
793+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true
794794 test ( {
795795 code : `
796796 import a from "foo";
797797 import b from "foo-bar";
798798 import c from "foo/foobar/bar";
799799 import d from "foo/foobar/barfoo";
800800 ` ,
801- options : [ { alphabetize : { order : 'asc' } , orderBySplitPaths : false } ] ,
801+ options : [ { alphabetize : { order : 'asc' } , orderByFullPathString : true } ] ,
802802 } ) ,
803- // Option alphabetize: {order: 'desc'} with orderBySplitPaths: false
803+ // Option alphabetize: {order: 'desc'} with orderByFullPathString: true
804804 test ( {
805805 code : `
806806 import d from "foo/barfoo";
807807 import c from "foo/bar";
808808 import b from "foo-bar";
809809 import a from "foo";
810810 ` ,
811- options : [ { alphabetize : { order : 'desc' } , orderBySplitPaths : false } ] ,
811+ options : [ { alphabetize : { order : 'desc' } , orderByFullPathString : true } ] ,
812812 } ) ,
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.
814814 test ( {
815815 code : `
816816 import d from "foo/barfoo";
@@ -819,7 +819,7 @@ ruleTester.run('order', rule, {
819819 import a from "foo";` ,
820820 options : [ {
821821 alphabetize : { order : 'desc' } ,
822- orderBySplitPaths : false ,
822+ orderByFullPathString : true ,
823823 } ] ,
824824 } ) ,
825825 // Option alphabetize with newlines-between: {order: 'asc', newlines-between: 'always'}
@@ -2688,7 +2688,7 @@ ruleTester.run('order', rule, {
26882688 message : '`foo-bar` import should occur after import of `foo/barfoo`' ,
26892689 } ] ,
26902690 } ) ,
2691- // Option alphabetize: {order: 'asc'} with orderBySplitPaths: false
2691+ // Option alphabetize: {order: 'asc'} with orderByFullPathString: true
26922692 test ( {
26932693 code : `
26942694 import a from "foo";
@@ -2698,7 +2698,7 @@ ruleTester.run('order', rule, {
26982698 ` ,
26992699 options : [ {
27002700 alphabetize : { order : 'asc' } ,
2701- orderBySplitPaths : false ,
2701+ orderByFullPathString : true ,
27022702 } ] ,
27032703 output : `
27042704 import a from "foo";
0 commit comments