[no-implied-eval] False positive when importing symbol with name Function #2338
Labels
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result The rule detects that the imported
Function
is not globalFunction
(either from theimport
or the parameters).Actual Result The following error is logged:
Additional Info
This
if
statement is evaluating totrue
:typescript-eslint/packages/eslint-plugin/src/rules/no-implied-eval.ts
Lines 121 to 124 in 2d80c51
Versions
@typescript-eslint/eslint-plugin
3.6.0
@typescript-eslint/parser
3.6.0
TypeScript
3.9.6
ESLint
7.4.0
node
12.13.0
npm
6.12.0
The text was updated successfully, but these errors were encountered: