Skip to content

Commit cd37518

Browse files
🤖 config(xo): Configure import/order.
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.
1 parent 297e420 commit cd37518

File tree

3 files changed

+1037
-598
lines changed

3 files changed

+1037
-598
lines changed

package.json

+38-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"pinst": "3.0.0",
101101
"power-assert": "1.6.1",
102102
"regenerator-runtime": "0.14.1",
103-
"xo": "0.53.1"
103+
"xo": "0.57.0"
104104
},
105105
"ava": {
106106
"files": [
@@ -219,7 +219,43 @@
219219
}
220220
],
221221
"unicorn/prefer-node-protocol": "off",
222-
"unicorn/prevent-abbreviations": "off"
222+
"unicorn/prevent-abbreviations": "off",
223+
"import/order": [
224+
"error",
225+
{
226+
"groups": [
227+
"builtin",
228+
"external",
229+
"internal",
230+
"parent",
231+
"sibling",
232+
"index",
233+
"object",
234+
"type"
235+
],
236+
"pathGroups": [
237+
{
238+
"pattern": "ava",
239+
"group": "external",
240+
"position": "before"
241+
},
242+
{
243+
"pattern": "#module",
244+
"group": "index",
245+
"position": "after"
246+
}
247+
],
248+
"pathGroupsExcludedImportTypes": [],
249+
"distinctGroup": true,
250+
"newlines-between": "always",
251+
"alphabetize": {
252+
"order": "asc",
253+
"orderImportKind": "asc",
254+
"caseInsensitive": false
255+
},
256+
"warnOnUnassignedImports": true
257+
}
258+
]
223259
},
224260
"overrides": [
225261
{

test/src/combinations.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import test from 'ava';
22

33
import {list} from '@iterable-iterator/list';
44
import {range} from '@iterable-iterator/range';
5+
56
import {combinations} from '#module';
67

78
const repr = (x) => (Array.isArray(x) ? JSON.stringify(x) : x);

0 commit comments

Comments
 (0)