We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8180f01 commit 766ae93Copy full SHA for 766ae93
packages/module/src/modules/config/addons/globals.ts
@@ -20,7 +20,7 @@ export function createAddonGlobals(nuxt: Nuxt): ESLintConfigGenAddon {
20
const imports = [
21
...await unimport?.getImports() || [],
22
...await nitroUnimport?.getImports() || [],
23
- ].sort()
+ ].sort((a, b) => 10 * a.from.localeCompare(b.from) + a.name.localeCompare(b.name))
24
25
return {
26
configs: [
0 commit comments