Is it possible to deactivate this error in eslint?
Parsing error: \'import\' and \'export\' may only appear at the top level
Support for dynamic import has been added in eslint 6.2.
You need to set ecmaVersion to 11 (or 2020) though.
"parserOptions": { "ecmaVersion": 11 ... }
You can test that in their online demo.