Open
Description
Suggestion
Right now, in our rule tests for eslint-plugin
, we use a non-default value for the compilerOptions.lib
option, that, in particular, removes DOM
.
This is different from the compilerOptions.lib
used on the playground, which does include DOM
. Because of this mismatch, the "Invalid" snapshots from docs-eslint-output-snapshots
for two rules are missing ESLint errors that do show up on the playground:
no-confusing-void-expression
(because of missing types foralert()
andpostMessage()
no-misused-promises
(because of missing types foraddEventListener()
)