Skip to content

Commit

Permalink
feat(eslint): disable prefer default export (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensacks authored and JAdshead committed Jul 16, 2020
1 parent facff92 commit 45b88d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ module.exports = {
optionalDependencies: false,
}],

// File with one export should be no different than a file
// with two exports from the consumer side
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md
'import/prefer-default-export': 'off',

// React fragment syntax requires Babel 7.x but this preset needs to still support Babel 6.x
'react/jsx-fragments': 'off',

Expand Down

0 comments on commit 45b88d3

Please sign in to comment.