Skip to Content
2
Sep 18, 2017 at 10:50 PM

ESLint rule require-jsdoc isn't working properly in Multi-cloud WebIDE

351 Views Last edit May 26, 2020 at 02:49 PM 2 rev

I've tried to use the eslint rule require-jsdoc in the multi-cloud WebIDE. However it doesn't seem to work properly. I think this is due to the way we write javascript in UI5. If i write a native javascript function, then the rule picks it up.

Below picture is my function in a SAPUI5 Controller JS file, which isn't picked up. The error you see below is for the myfunction in the test.js file, which is a native Javascript function.

Attachments