Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Linting our code?

Syvo
Tera 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
Tera 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
Tera 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.