eslint does not warn on non existing class method

Viewed 243

I have setup eslint with my react project. My eslint config simply extends airbnb. It works as expected and warns about things like 'class-methods-use-this', etc. But it does not warn me if i try to use a class method with this.nonexistingmethod() . Is this expected behaviour? shouldn't there be a rule for it? ( I tried looking for an existing rule by googling but couldn't find it )

Windows 8.1, vscode, react 16

0 Answers
Related