From a8635f0a042819a238f512d748e3928ca09754e1 Mon Sep 17 00:00:00 2001 From: Joshua Wiens Date: Sun, 1 Apr 2018 08:29:26 -0500 Subject: [PATCH] fix(import/order): Update rule to not conflict with prettier --- rules/imports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/imports.js b/rules/imports.js index 496b92e..746c073 100644 --- a/rules/imports.js +++ b/rules/imports.js @@ -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