You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A possible solution to this problem would be to skip parsing code sections that are skipped with a <!-- eslint-disable --> comment. Any other solution to this problem would work as well :)
The text was updated successfully, but these errors were encountered:
It seems like you're looking for the <!-- eslint-skip --> directive -- based on the readme, it seems like that directive has the effect of not parsing the code sample.
Let's say I have a module
dummy
that returns a promise. I might want to document it like this:This throws an exception because espree does not allow top-level await.
A possible solution to this problem would be to skip parsing code sections that are skipped with a
<!-- eslint-disable -->
comment. Any other solution to this problem would work as well :)The text was updated successfully, but these errors were encountered: