@@ -683,8 +683,8 @@ ruleTester.run('order', rule, {
683
683
import d from "foo/barfoo";
684
684
import b from "foo-bar";` ,
685
685
options : [ {
686
- alphabetize : { order : 'asc' } ,
687
- } ] ,
686
+ alphabetize : { order : 'asc' } ,
687
+ } ] ,
688
688
} ) ,
689
689
// Option alphabetize: {order: 'asc'} and move nested import entries closer to the main import entry
690
690
test ( {
@@ -694,8 +694,8 @@ ruleTester.run('order', rule, {
694
694
import d from "foo/foobar/barfoo";
695
695
import b from "foo-bar";` ,
696
696
options : [ {
697
- alphabetize : { order : 'asc' } ,
698
- } ] ,
697
+ alphabetize : { order : 'asc' } ,
698
+ } ] ,
699
699
} ) ,
700
700
// Option alphabetize: {order: 'desc'} and move nested import entries closer to the main import entry
701
701
test ( {
@@ -705,8 +705,8 @@ ruleTester.run('order', rule, {
705
705
import c from "foo/bar";
706
706
import a from "foo";` ,
707
707
options : [ {
708
- alphabetize : { order : 'desc' } ,
709
- } ] ,
708
+ alphabetize : { order : 'desc' } ,
709
+ } ] ,
710
710
} ) ,
711
711
// Option alphabetize with newlines-between: {order: 'asc', newlines-between: 'always'}
712
712
test ( {
@@ -2272,17 +2272,17 @@ ruleTester.run('order', rule, {
2272
2272
import d from "foo/barfoo";
2273
2273
` ,
2274
2274
options : [ {
2275
- alphabetize : { order : 'asc' } ,
2275
+ alphabetize : { order : 'asc' } ,
2276
2276
} ] ,
2277
2277
output : `
2278
2278
import a from "foo";
2279
2279
import c from "foo/bar";
2280
2280
import d from "foo/barfoo";
2281
2281
import b from "foo-bar";
2282
2282
` ,
2283
- errors : [
2284
- { message : '`foo-bar` import should occur after import of `foo/barfoo`' }
2285
- ]
2283
+ errors : [ {
2284
+ message : '`foo-bar` import should occur after import of `foo/barfoo`' ,
2285
+ } , ]
2286
2286
} ) ,
2287
2287
// Option alphabetize {order: 'asc': caseInsensitive: true}
2288
2288
test ( {
0 commit comments