jnicholas330 26-02-2015

I've used the JSLint Macro created a while back and posted here JavaScript Lint check in Designer to ensure my JavaScript has in a consistent state. However, I've noticed that JSLint never reports issues on my script variables, (rather it complains ONLY about event scripts). Most of my code is in script objects. Is there a way to fix this?

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

jnicholas330 27-02-2015

Well I think I've isolated the issue, but I'm not sure of the solution. It appears that use of C style comments, i.e. /* Comment */ causes all lines following it to be ignored during JSLint. Since all my script variables started with these comments, they were not checked.