[explicit-module-boundary-types] allowNames doesn't work on function and method expressions #3033
Closed
3 tasks done
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
eslintrc.js
:main.ts
:tsconfig.json
:Expected Result
I expect that
allowedNames
will whitelist those methods.Actual Result
This rule generates an error for
foo1
andfoo2
.Additional Info
It works correctly when using arrow functions. This code gives no errors.
This still errors, however.
Versions
@typescript-eslint/eslint-plugin
4.15.0
@typescript-eslint/parser
4.15.0
TypeScript
4.1.5
ESLint
7.19.0
node
15.8.0
The text was updated successfully, but these errors were encountered: