Search code examples
eslintsap-web-ide

ESLINT error messages


I am trying to use extern libraries on my SAPUI5 project and follow tutorials https://blogs.sap.com/2017/04/30/how-to-include-third-party-libraries-modules-in-sapui5/.
For example, I include lodash as you can see on the image: enter image description here

On the image, you can see, that the sap web ide complains about third library.
How to avoid the complaint?


Solution

  • Just add /* eslint-disable */ at the top of your target file:

    /* eslint-disable */
    /**
     * ...
     */
    ;(function(){function n(n)...