Skip to content

Commit

Permalink
[eslint config] [base] [breaking] enable import/newline-after-import
Browse files Browse the repository at this point in the history
  • Loading branch information
topstar2023 committed Jul 15, 2016
1 parent c2e2878 commit 81ccf41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-airbnb-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
"babel-tape-runner": "^1.3.1",
"eslint": "^3.1.1",
"eslint-find-rules": "^1.11.1",
"eslint-plugin-import": "^1.11.0",
"eslint-plugin-import": "^1.11.1",
"tape": "^4.6.0",
"in-publish": "^2.0.0"
},
"peerDependencies": {
"eslint": "^3.1.1",
"eslint-plugin-import": "^1.11.0"
"eslint-plugin-import": "^1.11.1"
},
"engines": {
"node": ">= 4"
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ module.exports = {

// Require a newline after the last import/require in a group
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md
// TODO: enable when https://github.com/benmosher/eslint-plugin-import/issues/386 is resolved
'import/newline-after-import': 0,
'import/newline-after-import': 2,

// Require modules with a single export to use a default export
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md
Expand Down

0 comments on commit 81ccf41

Please sign in to comment.