import-js/eslint-plugin-import

Dynamic import required rule?

dmitryuk opened this issue · 1 comments

Hello. Didn't find a rule to prevent direct import instead dynamic import for some files, for example:

// It's BAD for that component
import RComp from './Comp.vue';

// GOOD
const RComp = () => import('./Comp.vue')

Thanks for your time

I think this is a duplicate of #2326.