First of all, if you don't know how to handle Lint problems, I would suggest learning Javascript first before diving into SAPUI5.
Secondly, the resolution to your problem is right there in the problem. If you had taken the time to go to the URL provided (http://eslint.org/docs/rules/no-undef) you would have seen how to solve this error.