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 26, 2024
1 parent 7b7c581 commit ead6a0e
Show file tree
Hide file tree
Showing 69 changed files with 996 additions and 501 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"np": "9.1.0",
"pinst": "3.0.0",
"power-assert": "1.6.1",
"xo": "0.56.0"
"xo": "0.57.0"
},
"ava": {
"files": [
Expand Down Expand Up @@ -209,7 +209,43 @@
"unicorn/no-new-array": "off",
"no-negated-condition": "off",
"no-bitwise": "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 src/obj/attrgetter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import noop from '../fn/noop.js';

import attrresolve from './attrresolve.js';

const attrgetter = (...args) => {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {_fisheryates, _shuffle, _randint} from '@randomized/random';
import {splitmix64, nextFloat64} from '@entropy-source/pseudo-random';
import {_fisheryates, _shuffle, _randint} from '@randomized/random';

export const entropy = (seed) => {
const prng = splitmix64(seed);
Expand Down
2 changes: 1 addition & 1 deletion test/loader/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as importMapLoader from '@node-loader/import-maps';
import * as babelLoader from '@node-loader/babel';
import * as importMapLoader from '@node-loader/import-maps';

const config = {
loaders: [importMapLoader, babelLoader],
Expand Down
1 change: 1 addition & 0 deletions test/src/bool/and.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('and', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/bool/not.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('not', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/bool/or.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('or', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/bool/xor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

const macro = (t, a, b, expected) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/cast/identity.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import {identity} from '#module';

const repr = (x) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/cast/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('index', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/cast/truth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('truth', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/fn/methodcaller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('methodcaller', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/fn/noop.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('noop', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/concat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('concat', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/contains.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('contains', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/countOf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('countOf', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/iconcat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('iconcat', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/indexOf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('indexOf', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/list/len.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as operator from '#module';

test('len', (t) => {
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/add.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/floordiv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/iadd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/ifloordiv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/ilshift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/imod.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/imul.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/ipow.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/irshift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/isub.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/itruediv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/iushift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/lshift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/mod.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/mul.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/pow.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/rshift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/sub.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/truediv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/binary/ushift.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/AND.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/IAND.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/IOR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/IXOR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/NOT.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/OR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/bit/XOR.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/cmp/eq.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
2 changes: 2 additions & 0 deletions test/src/num/cmp/ge.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';

import {entropy} from '../../../fixtures.js';

import * as operator from '#module';

const seed = [0, 17];
Expand Down
Loading

0 comments on commit ead6a0e

Please sign in to comment.