I want to use the now "Stage-3" proposal import()
. If I lint my code with ESLint it's complaining about:
Parsing error: 'import' and 'export' may only appear at the top level
Which is correct for the static form of import
but not for the new, dynamic one. I don't find the right option to make ESLint allow that. Can someone give me a hint?