Closed rbecheras closed 7 years ago
This was already answered in https://github.com/standard/standard/issues/884#issuecomment-307155068:
I think this is working normally. The error isn't very informative, but the
await
keyword can only be used inside of a function markedasync
. So the sample above is correctly marked as an error.
But I use
linter-js-standard v3.9.1
:Which use
standard v8.6.0
as dependencyAnd
standard
seems supportasync/await
sincestandard v8.3.0
(> v8.6.0
)What's wrong ?