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?


Try disabling Before Parentheses | In function expression



Please sign in to leave a comment.