Subject: bug#9151: js-mode indentation doesn't recognize brace-less function expressions

From: Knut Olav Bøhmer <[email-masked]>
Date: Wed, 21 Aug 2019 09:54:18 +0200

This bug is probably more important to day then 8 years ago because of the
widely used  arrow function with concise body syntax as documented here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#Function_body

Right:
const something = () =>
      indent_like_this();

Wrong:
const something = () =>
not_indent_like_this();

-- 
Knut Olav Bøhmer