diff --git a/coding-styles/fixable.js b/coding-styles/fixable.js index 7b7330f..dd20207 100644 --- a/coding-styles/fixable.js +++ b/coding-styles/fixable.js @@ -437,5 +437,8 @@ module.exports = { // Enforce a convention in the order of require() / import statements 'import/order': 'warn', + + // Enforces having an empty line after the last top-level import statement or require call + 'import/newline-after-import': 'warn', }, } diff --git a/coding-styles/recommended.js b/coding-styles/recommended.js index 9e02a20..cea10fa 100644 --- a/coding-styles/recommended.js +++ b/coding-styles/recommended.js @@ -153,8 +153,5 @@ module.exports = { // requiring a single export declaration all your exports will remain at one place, making it // easier to see what exports a module provides. 'import/group-exports': 'warn', - - // Enforces having an empty line after the last top-level import statement or require call - 'import/newline-after-import': 'warn', }, }