Skip to content

Commit

Permalink
Remove import/prefer-default-export rule
Browse files Browse the repository at this point in the history
It's just too annoying. It makes it imposible to create `util.js` files where you have one export, but plan to have more.
  • Loading branch information
sindresorhus committed Mar 29, 2018
1 parent f67ff58 commit 7190640
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/plugins.js
Expand Up @@ -60,7 +60,6 @@ module.exports = {
'import/no-named-as-default': 'error',
'import/no-unresolved': ['error', {commonjs: true}],
'import/order': 'error',
'import/prefer-default-export': 'error',
'import/no-unassigned-import': ['error', {
allow: ['babel-polyfill', '@babel/polyfill', 'babel-register', '@babel/register']
}],
Expand Down

0 comments on commit 7190640

Please sign in to comment.