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 64e6567 commit 0bc7a5c
Show file tree
Hide file tree
Showing 5 changed files with 985 additions and 590 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,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 @@ -213,7 +213,43 @@
"rules": {
"unicorn/filename-case": "off",
"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
1 change: 1 addition & 0 deletions src/withoutMethods.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {_reduce} from '@iterable-iterator/reduce';

import DONE_ITERATOR from './DONE_ITERATOR.js';

function Node(value, next) {
Expand Down
4 changes: 2 additions & 2 deletions test/src/from.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import test from 'ava';

import {product} from '@set-theory/cartesian-product';
import {range} from '@iterable-iterator/range';
import {list} from '@iterable-iterator/list';
import {range} from '@iterable-iterator/range';
import {reversed} from '@iterable-iterator/reversed';
import {product} from '@set-theory/cartesian-product';

import {withMethods, withoutMethods} from '#module';

Expand Down
2 changes: 1 addition & 1 deletion test/src/immutability.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';

import {product} from '@set-theory/cartesian-product';
import {list} from '@iterable-iterator/list';
import {zip, enumerate} from '@iterable-iterator/zip';
import {product} from '@set-theory/cartesian-product';

import {withMethods, withoutMethods} from '#module';

Expand Down
Loading

0 comments on commit 0bc7a5c

Please sign in to comment.