Add rule to cover case when passing any
param to function with defined type for the argument
#1982
Labels
duplicate
This issue or pull request already exists
enhancement: new plugin rule
New rule request for eslint-plugin
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
I have all
unsafe
rules turned on but they don't warn me about case, when I'm passingany
to function as argument. Consider example below:Unsafe rules which are turned on:
Expected Result
Eslint warns me that passing lala of
any
type to function where this param has notany
type.Actual Result

(There is no warning)
Versions
@typescript-eslint/eslint-plugin
2.31.0
@typescript-eslint/parser
2.31.0
TypeScript
3.8.1
ESLint
6.8.0
node
12.16.3
npm
6.14.5
The text was updated successfully, but these errors were encountered: