Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Description
Suggestion
Right now, in our rule tests foreslint-plugin
, we use a non-default value for thecompilerOptions.lib
option, that, in particular, removesDOM
.
This is different from thecompilerOptions.lib
used on the playground, which does includeDOM
. Because of this mismatch, the "Invalid" snapshots fromdocs-eslint-output-snapshots
for two rules are missing ESLint errors thatdo show up on the playground:
no-confusing-void-expression
(because of missing types foralert()
andpostMessage()
no-misused-promises
(because of missing types foraddEventListener()
)