mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 14:27:54 -05:00
[eslint config] [base] [breaking] import/named: enable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user