built-in javascript validator breaks on dynamic imports. #28450
Labels
javascript
JavaScript support issues
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Steps to Reproduce:
import(
lines, validator could not recover. it keeps on failing on every statement after that.import
statement sometimes works correctlyfirst two examples works ok, but last example breaks the validator. seems to be related to
[]
Also related feature request:
Dynamic imports are still on proposal stage but they are usable with babel and I can allow them on eslint. but there is no way to allow them on default validator. I know I can simply disable
javascript.validate
but it's useful and I don't want to disable it for one simple feature I use.I'm not sure if there is a way to disable validator for lines or files only, something like
// eslint-disable-line
?but it would be nice to have a way to tell validator to stop validating on some files or lines.
The text was updated successfully, but these errors were encountered: