nl_tokens: Checks whether the given function has trailing commas or not .
pl_tokens: function hasTrailingCommaForFunction ( <mask> ) { const length = node . params . length return ( length >= 1 && sourceCode . getTokenAfter ( node . params [ length - 1 ] ) . value === "," ) }