WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 180262e

Browse files
committed
dx: add eslint warn import order rule
1 parent 9fca731 commit 180262e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

eslint.config.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default createConfigForNuxt({
1515
],
1616
},
1717
})
18-
.append(
19-
// your custom flat config here...
20-
)
18+
.append({
19+
rules: {
20+
'import/order': 'warn',
21+
},
22+
})

0 commit comments

Comments
 (0)