Currently, I am exploring the use of Eclipse for JavaScript within the "Eclipse IDE for Java EE Developers" package.
In my project, there is a heavy reliance on Bluebird, a promises implementation, resulting in several lines like:
somePromise.catch(function(err){...
Eclipse seems to label this as an error, possibly due to its belief that "catch" is a reserved keyword and cannot be utilized as a method name. The same situation happens with the promise.finally method. While there may be validity in Eclipse's stance, I would prefer not to switch libraries solely for this reason.
Is there a way to configure Eclipse to overlook these specific errors while still detecting any others present within the same files?