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 Feb 28, 2024
1 parent 3f922a7 commit de8d4c3
Show file tree
Hide file tree
Showing 5 changed files with 989 additions and 583 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"np": "10.0.0",
"pinst": "3.0.0",
"power-assert": "1.6.1",
"xo": "0.53.1"
"xo": "0.57.0"
},
"ava": {
"files": [
Expand Down Expand Up @@ -216,7 +216,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/big32-lil32.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import test from 'ava';

import {list} from '@iterable-iterator/list';
import {reversed} from '@iterable-iterator/reversed';

import {big32, lil32, get32} from '#module';

function macro(t, a, o, e) {
Expand Down
2 changes: 2 additions & 0 deletions test/src/sqrt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {randint} from '@randomized/random';

import {sqrt32, min, max} from '#module';

function macro(t, R) {
Expand Down
2 changes: 2 additions & 0 deletions test/src/usqrt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {randint} from '@randomized/random';

import {usqrt32, min, max} from '#module';

function macro(t, R) {
Expand Down
Loading

0 comments on commit de8d4c3

Please sign in to comment.