Skip to content

Commit a935784

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/ce1bc1f6c3a4414cb4f4617a8809f02f57694cb9/src/transforms/xo:config-import-order.js Please contact the author of the transform if you believe there was an error.
1 parent 85e901b commit a935784

File tree

2 files changed

+1039
-554
lines changed

2 files changed

+1039
-554
lines changed

package.json

+38-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"pinst": "3.0.0",
9191
"power-assert": "1.6.1",
9292
"regenerator-runtime": "0.14.1",
93-
"xo": "0.53.1"
93+
"xo": "0.57.0"
9494
},
9595
"ava": {
9696
"files": [
@@ -209,7 +209,43 @@
209209
}
210210
}
211211
],
212-
"unicorn/prevent-abbreviations": "off"
212+
"unicorn/prevent-abbreviations": "off",
213+
"import/order": [
214+
"error",
215+
{
216+
"groups": [
217+
"builtin",
218+
"external",
219+
"internal",
220+
"parent",
221+
"sibling",
222+
"index",
223+
"object",
224+
"type"
225+
],
226+
"pathGroups": [
227+
{
228+
"pattern": "ava",
229+
"group": "external",
230+
"position": "before"
231+
},
232+
{
233+
"pattern": "#module",
234+
"group": "index",
235+
"position": "after"
236+
}
237+
],
238+
"pathGroupsExcludedImportTypes": [],
239+
"distinctGroup": true,
240+
"newlines-between": "always",
241+
"alphabetize": {
242+
"order": "asc",
243+
"orderImportKind": "asc",
244+
"caseInsensitive": false
245+
},
246+
"warnOnUnassignedImports": true
247+
}
248+
]
213249
},
214250
"overrides": [
215251
{

0 commit comments

Comments
 (0)