-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingwebsite: playground
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())
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingwebsite: playground