[import/default] False positive when exporting a default value using destructuring #545
Closed
Description
Exporting a default value using destructuring seems to cause a false positive. Example:
store.js
// Export a default value
export { mapGetters as default } from 'vuex';
// This is the equivalent that correctly works
// import { mapGetters } from 'vuex';
// export default mapGetters;
// Other exports...
export const USER = 'user';
file.js
import mapGetters, { USER } from './store.js';
// ESLint says: (import/default) No default export found in module.
I'm using transform-export-extensions.