Skip to content

Commit 1c64a45

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/b27ce6d333a4c46ff5161eaddfbe16895bbabf0f/src/transforms/xo:config-import-order.js Please contact the author of the transform if you believe there was an error.
1 parent a03c23c commit 1c64a45

File tree

5 files changed

+612
-201
lines changed

5 files changed

+612
-201
lines changed

package.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"pinst": "3.0.0",
9898
"power-assert": "1.6.1",
9999
"regenerator-runtime": "0.14.1",
100-
"xo": "0.56.0"
100+
"xo": "0.57.0"
101101
},
102102
"ava": {
103103
"files": [
@@ -209,7 +209,43 @@
209209
"camelcase": "off",
210210
"unicorn/filename-case": "off",
211211
"unicorn/prefer-node-protocol": "off",
212-
"unicorn/prevent-abbreviations": "off"
212+
"unicorn/prevent-abbreviations": "off",
213+
"import/order": [
214+
"error",
215+
{
216+
"groups": [
217+
"builtin",
218+
"external",
219+
"internal",
220+
"parent",
221+
"sibling",
222+
"index",
223+
"object",
224+
"type"
225+
],
226+
"pathGroups": [
227+
{
228+
"pattern": "ava",
229+
"group": "external",
230+
"position": "before"
231+
},
232+
{
233+
"pattern": "#module",
234+
"group": "index",
235+
"position": "after"
236+
}
237+
],
238+
"pathGroupsExcludedImportTypes": [],
239+
"distinctGroup": true,
240+
"newlines-between": "always",
241+
"alphabetize": {
242+
"order": "asc",
243+
"orderImportKind": "asc",
244+
"caseInsensitive": false
245+
},
246+
"warnOnUnassignedImports": true
247+
}
248+
]
213249
},
214250
"overrides": [
215251
{

src/FibonacciHeap.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ import {
33
_remove as list_remove,
44
_concat as list_concatenate,
55
} from '@data-structure-algebra/circularly-linked-list';
6+
67
import Node from './Node.js';
7-
import list_reset_parent from './list_reset_parent.js';
8+
import cascading_cut from './cascading_cut.js';
89
import consolidate from './consolidate.js';
910
import cut from './cut.js';
10-
import cascading_cut from './cascading_cut.js';
11+
import list_reset_parent from './list_reset_parent.js';
1112

1213
/**
1314
* See CLRS09 Chapter 19 on the Fibonacci Heap.

src/consolidate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {_append as list_insert} from '@data-structure-algebra/circularly-linked-list';
2+
23
import link from './link.js';
34

45
/**

test/src/FibonacciHeap.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// eslint-disable-next-line ava/use-test
22
import ava from 'ava';
3+
34
import * as spec from '@heap-data-structure/specification';
5+
46
import {FibonacciHeap} from '#module';
57

68
const heaps = [['FibonacciHeap', (compare) => new FibonacciHeap(compare)]];

0 commit comments

Comments
 (0)