Enforces indentation of parameters in multiline functions
Types: Boolean
, String
, Number
Values:
true
to require parameters are aligned with the body of the function'firstParam'
to require parameters to be aligned with the first parameterNumber
for the number of columns the parameters should be indented past the function body"requireAlignedMultilineParams": true
true
var test = function(one, two,
three, four, five,
six, seven, eight) {
console.log(a);
};
2
var test = function(one, two,
three, four, five,
six, seven, eight) {
console.log(a);
};
'firstParam'
var test = function(one, two,
three, four, five,
six, seven, eight) {
console.log(a);
};
0
var test = function(one, two,
three, four, five,
six, seven, eight) {
console.log(a);
};