Skip to content

Commit c1ab3b3

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 db8ce79 commit c1ab3b3

File tree

2 files changed

+1040
-554
lines changed

2 files changed

+1040
-554
lines changed

package.json

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

0 commit comments

Comments
 (0)