Skip to content

Commit

Permalink
[eslint config] [base] [breaking] enable import rules: `newline-after…
Browse files Browse the repository at this point in the history
…-import`, `prefer-default-export`
  • Loading branch information
talentdev219 committed Jun 20, 2016
1 parent 3fe6dd1 commit 9e93caf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/eslint-config-airbnb-base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ 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
'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
// TODO: enable
'import/prefer-default-export': 0
}
'import/prefer-default-export': 2,
},
};

0 comments on commit 9e93caf

Please sign in to comment.