Skip to content

Commit 1e8ba1b

Browse files
🤖 config(xo): Configure import/order.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/31b7e48f29789fa2e2ad9e16013ff277c3bbca57/src/transforms/xo:config-import-order.js Please contact the author of the transform if you believe there was an error.
1 parent 73b4248 commit 1e8ba1b

23 files changed

+911
-614
lines changed

package.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"pinst": "3.0.0",
105105
"power-assert": "1.6.1",
106106
"regenerator-runtime": "0.14.0",
107-
"xo": "0.54.2"
107+
"xo": "0.57.0"
108108
},
109109
"ava": {
110110
"files": [
@@ -227,6 +227,42 @@
227227
{
228228
"avoidExplicitReturnArrows": false
229229
}
230+
],
231+
"import/order": [
232+
"error",
233+
{
234+
"groups": [
235+
"builtin",
236+
"external",
237+
"internal",
238+
"parent",
239+
"sibling",
240+
"index",
241+
"object",
242+
"type"
243+
],
244+
"pathGroups": [
245+
{
246+
"pattern": "ava",
247+
"group": "external",
248+
"position": "before"
249+
},
250+
{
251+
"pattern": "#module",
252+
"group": "index",
253+
"position": "after"
254+
}
255+
],
256+
"pathGroupsExcludedImportTypes": [],
257+
"distinctGroup": true,
258+
"newlines-between": "always",
259+
"alphabetize": {
260+
"order": "asc",
261+
"orderImportKind": "asc",
262+
"caseInsensitive": false
263+
},
264+
"warnOnUnassignedImports": true
265+
}
230266
]
231267
},
232268
"overrides": [

src/_next.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {_transpose} from './_transpose.js';
21
import {_reverse} from './_reverse.js';
2+
import {_transpose} from './_transpose.js';
33

44
/**
55
* Updates the input permutation to the next one ___in-place___. Returns true

src/apply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {identity} from './identity.js';
21
import {_apply} from './_apply.js';
2+
import {identity} from './identity.js';
33

44
/**
55
* Apply a given sequence (in the given order) of transpositions (given as

src/bitreversal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {permutation} from './permutation.js';
21
import {_bitreversal} from './_bitreversal.js';
2+
import {permutation} from './permutation.js';
33

44
/**
55
* Returns a newly allocated array containing the bitreversal permutation for

src/compose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {permutation} from './permutation.js';
21
import {_compose} from './_compose.js';
2+
import {permutation} from './permutation.js';
33

44
/**
55
* Compose two input permutations. The resulting permutation is output as an

src/copy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {permutation} from './permutation.js';
21
import {_copy} from './_copy.js';
2+
import {permutation} from './permutation.js';
33

44
/**
55
* Make a copy of the input permutation.

src/identity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {permutation} from './permutation.js';
21
import {_identity} from './_identity.js';
2+
import {permutation} from './permutation.js';
33

44
/**
55
* Returns the identity permutation of a given size.

src/invert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {permutation} from './permutation.js';
21
import {_invert} from './_invert.js';
2+
import {permutation} from './permutation.js';
33

44
/**
55
* Computes the inverse <code>tau</code> of the input permutation

src/next.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {copy} from './copy.js';
21
import {_next} from './_next.js';
2+
import {copy} from './copy.js';
33
import {reverse} from './reverse.js';
44

55
/**

src/permutations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {identity} from './identity.js';
21
import {_permutations} from './_permutations.js';
32
import {copy} from './copy.js';
3+
import {identity} from './identity.js';
44

55
/**
66
* Generate all permutations on <code>n</code> elements.

0 commit comments

Comments
 (0)