File tree Expand file tree Collapse file tree 5 files changed +612
-201
lines changed Expand file tree Collapse file tree 5 files changed +612
-201
lines changed Original file line number Diff line number Diff line change 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" : [
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 {
Original file line number Diff line number Diff 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+
67import Node from './Node.js' ;
7- import list_reset_parent from './list_reset_parent .js' ;
8+ import cascading_cut from './cascading_cut .js' ;
89import consolidate from './consolidate.js' ;
910import 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.
Original file line number Diff line number Diff line change 11import { _append as list_insert } from '@data-structure-algebra/circularly-linked-list' ;
2+
23import link from './link.js' ;
34
45/**
Original file line number Diff line number Diff line change 11// eslint-disable-next-line ava/use-test
22import ava from 'ava' ;
3+
34import * as spec from '@heap-data-structure/specification' ;
5+
46import { FibonacciHeap } from '#module' ;
57
68const heaps = [ [ 'FibonacciHeap' , ( compare ) => new FibonacciHeap ( compare ) ] ] ;
You can’t perform that action at this time.
0 commit comments