[eslint config] [base] [breaking] import/named: enable

This commit is contained in:
Jordan Harband
2017-10-18 14:28:58 -07:00
parent b66d6e42f3
commit 6f2395a3f1

View File

@@ -37,7 +37,7 @@ module.exports = {
// ensure named imports coupled with named exports
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md#when-not-to-use-it
'import/named': 'off',
'import/named': 'error',
// ensure default import coupled with default export
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/default.md#when-not-to-use-it