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 a540748 commit c86c0a5
Show file tree
Hide file tree
Showing 47 changed files with 1,176 additions and 471 deletions.
40 changes: 38 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"pinst": "3.0.0",
"power-assert": "1.6.1",
"regenerator-runtime": "0.14.0",
"xo": "0.53.1"
"xo": "0.57.0"
},
"ava": {
"files": [
Expand Down Expand Up @@ -216,7 +216,43 @@
"no-return-assign": "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
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/arithmetic/add.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

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

import * as double from '#module';

const e = Math.E;
Expand Down
1 change: 1 addition & 0 deletions test/src/logarithmic/log2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

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

import * as double from '#module';

const e = Math.E;
Expand Down
1 change: 1 addition & 0 deletions test/src/logarithmic/loglog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

const epsilon = 1e-6;
Expand Down
1 change: 1 addition & 0 deletions test/src/logarithmic/loglog2.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

const epsilon = 1e-6;
Expand Down
1 change: 1 addition & 0 deletions test/src/logarithmic/logloge.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

const epsilon = 1e-6;
Expand Down
1 change: 1 addition & 0 deletions test/src/memory/copy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from 'ava';

import * as double from '#module';

test('memory', (t) => {
Expand Down
1 change: 1 addition & 0 deletions test/src/predicate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import test from 'ava';

import {macro} from './_fixtures.js';

import {
eq0,
eq1,
Expand Down
Loading

0 comments on commit c86c0a5

Please sign in to comment.