In the styleguide it mentions that we use space-before-function-paren to prevent anonymous functions having a space before the parens for consistency.
However, since a named function is like:
function doSomething() {}
Wouldn't it be more consistent to leave a space between function and () for anonymous functions since there is a space between function and doSomething, with function having nothing to do with the naming part?
const doSomething = function () {};