Skip to content

Commit

Permalink
fix(import/order): Update rule to not conflict with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Apr 1, 2018
1 parent 9e6395d commit a8635f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ module.exports = {
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md
'import/order': ['error', {
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
'newlines-between': 'never',
'newlines-between': 'always-and-inside-groups',
}],

// Require a newline after the last import/require in a group
Expand Down

0 comments on commit a8635f0

Please sign in to comment.