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/5cd83ef81aaefb6f6fc541d00cc7c4791d7b4c1c/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 Feb 9, 2024
1 parent 8665ab6 commit ea2ed54
Show file tree
Hide file tree
Showing 10 changed files with 1,035 additions and 614 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,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 @@ -216,7 +216,43 @@
}
],
"unicorn/prefer-node-protocol": "off",
"unicorn/prevent-abbreviations": "off"
"unicorn/prevent-abbreviations": "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
2 changes: 2 additions & 0 deletions test/src/colexicographical.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import test from 'ava';

import * as primitive from '@total-order/primitive';
import {reversed} from '@total-order/reversed';

import {repr, rel} from './_fixtures.js';

import {colexicographical} from '#module';

const increasing = colexicographical(primitive.increasing);
Expand Down
2 changes: 2 additions & 0 deletions test/src/fixedcolexicographical.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import test from 'ava';

import * as primitive from '@total-order/primitive';

import {repr, rel} from './_fixtures.js';

import {fixedcolexicographical} from '#module';

const increasing = fixedcolexicographical(primitive.increasing, 5);
Expand Down
2 changes: 2 additions & 0 deletions test/src/fixedlexicographical.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import test from 'ava';

import * as primitive from '@total-order/primitive';

import {repr, rel} from './_fixtures.js';

import {fixedlexicographical} from '#module';

const increasing = fixedlexicographical(primitive.increasing, 5);
Expand Down
2 changes: 2 additions & 0 deletions test/src/lexicographical.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import test from 'ava';

import * as primitive from '@total-order/primitive';
import {reversed} from '@total-order/reversed';

import {repr, rel} from './_fixtures.js';

import {lexicographical} from '#module';

const increasing = lexicographical(primitive.increasing);
Expand Down
2 changes: 2 additions & 0 deletions test/src/quasicolexicographical.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import test from 'ava';

import * as primitive from '@total-order/primitive';
import {reversed} from '@total-order/reversed';

import {repr, rel} from './_fixtures.js';

import {quasicolexicographical} from '#module';

const increasing = quasicolexicographical(primitive.increasing);
Expand Down
2 changes: 2 additions & 0 deletions test/src/quasilexicographical.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import test from 'ava';

import * as primitive from '@total-order/primitive';
import {reversed} from '@total-order/reversed';

import {repr, rel} from './_fixtures.js';

import {quasilexicographical} from '#module';

const increasing = quasilexicographical(primitive.increasing);
Expand Down
2 changes: 2 additions & 0 deletions test/src/rangedcolexicographical.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import test from 'ava';

import * as primitive from '@total-order/primitive';

import {repr, rel} from './_fixtures.js';

import {rangedcolexicographical} from '#module';

const increasing = rangedcolexicographical(primitive.increasing, 1, 6);
Expand Down
3 changes: 3 additions & 0 deletions test/src/rangedlexicographical.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import test from 'ava';

import * as primitive from '@total-order/primitive';

import {repr, rel} from './_fixtures.js';

import {rangedlexicographical} from '#module';

const increasing = rangedlexicographical(primitive.increasing, 1, 6);
Expand Down
Loading

0 comments on commit ea2ed54

Please sign in to comment.