Skip to Content
0
Aug 06, 2018 at 12:12 PM

Custom ES-Lint rule not working properly in webide.

304 Views Last edit May 24, 2020 at 11:40 AM 2 rev

Hi,

I'm trying to create a custom eslint rule to enforce better naming convention of a variable.

I've followed https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/Cloud/en-US/6335f91cb10f4176827747e3e545eeb4.html to add a custom rule that i've created.

When i apply the rule it isn't really iterating over the files as i expected.

I created a variable like var hello = "test", which should cause it to fail. It does it in the ASTExplorer

I've tried both in full stack and traditional webide.

Please help and I promise to share it in a blog ;)