Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Move import/newline-after-import rule to fixable #37

Merged
merged 1 commit into from
Apr 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions coding-styles/fixable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}
3 changes: 0 additions & 3 deletions coding-styles/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}