ale
ale copied to clipboard
Recognizing trailing commas
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,);.
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.
That was it, updated Node, and it works now, thanks :)