Syntax check for commas at the end of comma separated lists

Ok, so I’m an idiot. But this issue keeps causing me to break my automations and scripts, and it usually takes me days to find it and correct it each time. But can’t we get the file editor or studio code to flag when you accidentally end a comma separated list with a comma? It’s easier to do than you think.

Really appreciate all you guys do. Thanks