Skip to content

Commit 7913d17

Browse files
committed
Use eslint to sort imports
1 parent 0a827b8 commit 7913d17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+323
-320
lines changed

__tests__/Comparator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { List, OrderedSet, Seq, type Comparator, PairSorting } from 'immutable';
2+
import { type Comparator, List, OrderedSet, PairSorting, Seq } from 'immutable';
33

44
const sourceNumbers: readonly number[] = [3, 4, 5, 6, 7, 9, 10, 12, 90, 92, 95];
55

__tests__/Conversion.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { describe, expect, it } from '@jest/globals';
2+
import fc, { type JsonValue } from 'fast-check';
23
import {
34
type Collection,
45
fromJS,
@@ -8,7 +9,7 @@ import {
89
OrderedMap,
910
Record,
1011
} from 'immutable';
11-
import fc, { type JsonValue } from 'fast-check';
12+
import { List, Map, OrderedMap, Record, fromJS, is } from 'immutable';
1213

1314
describe('Conversion', () => {
1415
// Note: order of keys based on Map's hashing order

__tests__/Equality.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { is, List, Map, Seq, Set } from 'immutable';
32
import fc from 'fast-check';
3+
import { List, Map, Seq, Set, is } from 'immutable';
44

55
describe('Equality', () => {
66
function expectIs(left: unknown, right: unknown): void {

__tests__/KeyedSeq.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { Range, Seq } from 'immutable';
32
import fc from 'fast-check';
43
import invariant from '../src/utils/invariant';
54

__tests__/List.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { fromJS, List, Map, Range, Seq, Set } from 'immutable';
32
import fc from 'fast-check';
3+
import { List, Map, Range, Seq, Set, fromJS } from 'immutable';
44
import { create as createSeed } from 'random-seed';
55
import invariant from '../src/utils/invariant';
66

__tests__/Map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it, jest } from '@jest/globals';
2-
import { fromJS, is, List, Map, Range, Record, Seq } from 'immutable';
32
import fc from 'fast-check';
3+
import { List, Map, Range, Record, Seq, fromJS, is } from 'immutable';
44

55
describe('Map', () => {
66
it('converts from object', () => {

__tests__/OrderedSet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { OrderedSet, Map } from 'immutable';
2+
import { Map, OrderedSet } from 'immutable';
33

44
describe('OrderedSet', () => {
55
it('provides initial values in a mixed order', () => {

__tests__/Predicates.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { describe, expect, it } from '@jest/globals';
22
import {
3-
is,
4-
isImmutable,
5-
isValueObject,
63
List,
74
Map,
85
Set,
96
Stack,
7+
is,
8+
isImmutable,
9+
isValueObject,
1010
} from 'immutable';
1111

1212
describe('isImmutable', () => {

__tests__/Range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { Range } from 'immutable';
32
import fc from 'fast-check';
3+
import { Range } from 'immutable';
44

55
describe('Range', () => {
66
it('fixed range', () => {

__tests__/Record.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from '@jest/globals';
2-
import { isKeyed, List, Map, Record, Seq } from 'immutable';
2+
import { List, Map, Record, Seq, isKeyed } from 'immutable';
33

44
describe('Record', () => {
55
it('defines a constructor', () => {

0 commit comments

Comments
 (0)