ale icon indicating copy to clipboard operation
ale copied to clipboard

Recognizing trailing commas

Open gcaglar opened this issue 9 years ago • 2 comments

I'm having an issue with eslint for a JS file. When I run ALEDetail, it's erroring out with Unexpected token ). I think it's having an issue with a trailing comma, e.g., funcCall(1,2,);.

gcaglar avatar Nov 03 '17 17:11 gcaglar

Could you include the output of :ALEInfo? It sounds like you're running a tool which doesn't use a version of node recent enough to support trailing commas in functions.

w0rp avatar Nov 03 '17 18:11 w0rp

That was it, updated Node, and it works now, thanks :)

gcaglar avatar Nov 03 '17 21:11 gcaglar