Skip to content

Commit a8635f0

Browse files
committed
fix(import/order): Update rule to not conflict with prettier
1 parent 9e6395d commit a8635f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/imports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ module.exports = {
147147
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md
148148
'import/order': ['error', {
149149
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
150-
'newlines-between': 'never',
150+
'newlines-between': 'always-and-inside-groups',
151151
}],
152152

153153
// Require a newline after the last import/require in a group

0 commit comments

Comments
 (0)