Skip to content

Commit 53fd981

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 a70a4aa commit 53fd981

File tree

2 files changed

+1038
-595
lines changed

2 files changed

+1038
-595
lines changed

package.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"pinst": "3.0.0",
9999
"power-assert": "1.6.1",
100100
"regenerator-runtime": "0.14.1",
101-
"xo": "0.53.1"
101+
"xo": "0.57.0"
102102
},
103103
"ava": {
104104
"files": [
@@ -217,7 +217,43 @@
217217
}
218218
],
219219
"unicorn/prefer-node-protocol": "off",
220-
"unicorn/prevent-abbreviations": "off"
220+
"unicorn/prevent-abbreviations": "off",
221+
"import/order": [
222+
"error",
223+
{
224+
"groups": [
225+
"builtin",
226+
"external",
227+
"internal",
228+
"parent",
229+
"sibling",
230+
"index",
231+
"object",
232+
"type"
233+
],
234+
"pathGroups": [
235+
{
236+
"pattern": "ava",
237+
"group": "external",
238+
"position": "before"
239+
},
240+
{
241+
"pattern": "#module",
242+
"group": "index",
243+
"position": "after"
244+
}
245+
],
246+
"pathGroupsExcludedImportTypes": [],
247+
"distinctGroup": true,
248+
"newlines-between": "always",
249+
"alphabetize": {
250+
"order": "asc",
251+
"orderImportKind": "asc",
252+
"caseInsensitive": false
253+
},
254+
"warnOnUnassignedImports": true
255+
}
256+
]
221257
},
222258
"overrides": [
223259
{

0 commit comments

Comments
 (0)