E0151: invalid function parameter
A function parameter can be a variable name, an array destructuring, or an object destructuring. It is a syntax error for a function parameter to look like a function call or any other expression:
To fix this error, write =
to make a parameter have a default value:
Alternatively, remove the parentheses indicating a function call:
Introduced in quick-lint-js version 0.3.0.