Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Repro
{"rules": {"@typescript-eslint/ban-types":"error","@typescript-eslint/no-explicit-any":"error" }}
createComponent(component: any,params:Object){}
Expected Result
Error onparams
forban-types
, fixes to{} or suggestsobject, or at least something that doesn't include an explicitany
.
Actual Result
Error onparams
forban-types
, fixes toRecord<string, any>
which conflicts with theno-explicit-any
rule.
Additional Info
n/a
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 1.13.0 |
@typescript-eslint/parser | 1.13.0 |
TypeScript | 3.4.5 |
ESLint | 6.1.0 |
node | 10.16.0 |
npm | 6.9.0 |