It appears that ever since #4 was merged, the plugin no longer shows errors for class methods with reference to this when "classPropertiesAllowed" is set to true, because it only checks if a function has reference to this, and not if the function is also a class method. This PR fixes that.
Fixes #19
It appears that ever since #4 was merged, the plugin no longer shows errors for class methods with reference to
this
when "classPropertiesAllowed" is set totrue
, because it only checks if a function has reference tothis
, and not if the function is also a class method. This PR fixes that.