Validates proper alignment of function parameters.
Types: Boolean, Object
Values:
true: setting this is the same as validating the rule using
{lineBreakAfterOpeningBrace: true, lineBreakBeforeClosingBrace: true}Object:lineBreakAfterOpeningBracetrue specifies that the first function parameter must not be on the same line as the opening brace (
of the function parameters listlineBreakBeforeClosingBracetrue specifies that the last function parameter must not be on the same line as the closing brace )
of the function parameters list"validateAlignedFunctionParameters": {
"lineBreakAfterOpeningBrace": true,
"lineBreakBeforeClosingBrace": true
}
{ "lineBreakAfterOpeningBrace": true, "lineBreakBeforeClosingBrace": true}function (
thisIs,
theLongestList,
ofParametersEverWritten
) {}
{ "lineBreakAfterOpeningBrace": true, "lineBreakBeforeClosingBrace": true}function (thisIs,
theLongestList,
ofParametersEverWritten) {}