TypeError: Cannot read property 'match' of undefined
with prefer-stateless-function
#2596
Labels
TypeError: Cannot read property 'match' of undefined
with prefer-stateless-function
#2596
With the code:
Lint it with this rule, version
eslint-plugin-react@7.19.0
.I get the error:
This happens in particular, when I have ESLint linting while I type.
I managed to fix the issue in
doctrine
by adding&& source[index]
, but then I find out that the package is archived on GitHub!This bug might have been introduced recently (in the past week?), as I haven't seen it before.
The text was updated successfully, but these errors were encountered: