Today, I wanted to check for undeclared variables in a javascript file. I added /* jsl:option explicit */ on a single line.
This option is ignored if there is a space between /* and jsl:option.
If there is a space between explicit and */, or there are two spaces between jsl:option and explicit, the following warning is shown:
"lint warning: couldn't understand control comment using /*jsl:keyword*/ syntax"
It would be nice if jsl were insensitive to white space.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Today, I wanted to check for undeclared variables in a javascript file. I added /* jsl:option explicit */ on a single line.
This option is ignored if there is a space between /* and jsl:option.
If there is a space between explicit and */, or there are two spaces between jsl:option and explicit, the following warning is shown:
"lint warning: couldn't understand control comment using /*jsl:keyword*/ syntax"
It would be nice if jsl were insensitive to white space.
This has been fixed in the latest trunk.