Skip to content

Commit

Permalink
🤖 config(xo): Configure import/order.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Mar 2, 2024
1 parent b2da233 commit a4a6b75
Show file tree
Hide file tree
Showing 7 changed files with 993 additions and 587 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"pinst": "3.0.0",
"power-assert": "1.6.1",
"regenerator-runtime": "0.14.1",
"xo": "0.53.1"
"xo": "0.57.0"
},
"ava": {
"files": [
Expand Down Expand Up @@ -217,7 +217,43 @@
"unicorn/prefer-math-trunc": "off",
"unicorn/no-new-array": "off",
"no-negated-condition": "off",
"unicorn/prefer-node-protocol": "off"
"unicorn/prefer-node-protocol": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object",
"type"
],
"pathGroups": [
{
"pattern": "ava",
"group": "external",
"position": "before"
},
{
"pattern": "#module",
"group": "index",
"position": "after"
}
],
"pathGroupsExcludedImportTypes": [],
"distinctGroup": true,
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"orderImportKind": "asc",
"caseInsensitive": false
},
"warnOnUnassignedImports": true
}
]
},
"overrides": [
{
Expand Down
1 change: 1 addition & 0 deletions test/src/heap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import test from 'ava';

import {Measures} from '@functional-abstraction/measure';
import {empty} from '@functional-data-structure/finger-tree';

import {heap} from '#module';

const Heap = heap(empty, Measures.PRIO);
Expand Down
3 changes: 2 additions & 1 deletion test/src/indordseq.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import test from 'ava';

import {Measures} from '@functional-abstraction/measure';
import {list} from '@iterable-iterator/list';
import {empty} from '@functional-data-structure/finger-tree';
import {list} from '@iterable-iterator/list';

import {indordseq} from '#module';

const {KEY, LEN, KEY_LEN} = Measures;
Expand Down
3 changes: 2 additions & 1 deletion test/src/intervaltree.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import test from 'ava';

import {Measures} from '@functional-abstraction/measure';
import {list} from '@iterable-iterator/list';
import {empty} from '@functional-data-structure/finger-tree';
import {list} from '@iterable-iterator/list';

import {intervaltree} from '#module';

const IntervalTree = intervaltree(empty, Measures.INTERVAL);
Expand Down
3 changes: 2 additions & 1 deletion test/src/ordseq.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import test from 'ava';

import {Measures} from '@functional-abstraction/measure';
import {ge} from '@functional-abstraction/predicate';
import {list} from '@iterable-iterator/list';
import {empty} from '@functional-data-structure/finger-tree';
import {list} from '@iterable-iterator/list';

import {ordseq} from '#module';

const OrdSeq = ordseq(empty, Measures.KEY);
Expand Down
3 changes: 2 additions & 1 deletion test/src/seq.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import test from 'ava';

import {Measures} from '@functional-abstraction/measure';
import {gt} from '@functional-abstraction/predicate';
import {empty} from '@functional-data-structure/finger-tree';
import {list} from '@iterable-iterator/list';
import {range} from '@iterable-iterator/range';
import {empty} from '@functional-data-structure/finger-tree';

import {seq} from '#module';

const Seq = seq(empty, Measures.SIZE);
Expand Down
Loading

0 comments on commit a4a6b75

Please sign in to comment.