es-beautifier icon indicating copy to clipboard operation
es-beautifier copied to clipboard

Multiline rule for long function arguments

Open dai-shi opened this issue 7 years ago • 1 comments

Given:

function f(argument1, argument2, argument3, argument4, argument5, argument6, argument7, argument8) {}

Expected:

function f( 
  argument1,
  argument2,
  argument3,
  argument4,
  argument5,
  argument6,
  argument7,
  argument8
) {}

dai-shi avatar Dec 06 '16 09:12 dai-shi

Maybe, we should wait for this issue to be resolved: https://github.com/eslint/eslint/issues/6074

dai-shi avatar Dec 06 '16 09:12 dai-shi