Linting our code?

Syvo
Giga Guru

Hi all,

I'm trying to integrate Servicenow with a linting tool such as eslint or jslint, to enforce standard and custom best practices.
I can see Servicenow embeds Code mirror, which has an eslint plugin.

Is there a documented or undocumented way to add our configuration to the code mirror instances?

Thanks,
Sylvain

1 ACCEPTED SOLUTION

Syvo
Giga Guru

Replying to my own old question, answered by the New York release. Check out JavaScript syntax editor on docs.servicenow.com and the glide.ui.syntax_editor.linter.eslint_config sys property.

 

View solution in original post

5 REPLIES 5

Syvo
Giga Guru

Replying to my own old question, answered by the New York release. Check out JavaScript syntax editor on docs.servicenow.com and the glide.ui.syntax_editor.linter.eslint_config sys property.