space-before-function-paren rule in WebStorm
The ESLint space-before-function-paren rule forbits space before function parentheses.
Using the settings below:
when formatting this using WebStorm
function test() {
}
everything is ok.
But reformatting this:
const test = function () {
}
does not remove the space before the parentheses.
Which spacing setting do I have to change in WebStorm to solve this?
Please sign in to leave a comment.
Try disabling Before Parentheses | In function expression
Thanks, this did the trick!