EJS-Lint icon indicating copy to clipboard operation
EJS-Lint copied to clipboard

doesn't catch - %> ( vs -%> ) . Could be a suggestion

Open moorthi07 opened this issue 8 years ago • 1 comments

I had this error thrown by ejs which ejs-lint couldn't detect.


err SyntaxError: missing ) after argument list in C:\model.ts while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint

for a code like,

<%= ":" _ %>

First of all it should not throw an error as this code has both <% and %>. But this ejs detects this space (' ') between _ %> and throws an error.

It could be a meaning full error , may be like , its missing a closing '%>' - would be more appropriate.

But it was very hard for me to locate this little space in the large file!

moorthi07 avatar Jan 08 '18 00:01 moorthi07

I guess this couldn't hurt to add if you'd like to.

RyanZim avatar Jan 08 '18 15:01 RyanZim