The validation in Eclipse is catching what it deems \"errors\" in the framework I\'ve been using just fine.
Project -> Properties -> Validation
If none of the above steps(unchecking,excluding etc) work....After disabling the validator...delete the js file and add it back into the Workspace.
I tried all of the above and none worked. This worked for me after playing about with it,
I believe this is caused by this bug in Eclipse Web Tools <3.5.2
It also seems to only typically affect minified Javascript (it is sensitive to certain patterns in function declarations - see link)
@Marek describes a work around to remove the errors if you are using an affected version of Eclipse Web Tools. However, a better solution might be to update to Eclipse >=4.3 and use Eclipse Web Tools >=3.5.2