alignment.indentBase : "firstline" | "activeline" | "dontchange"

Specify if it use the indentation of the firstline or the line under the cursor. Below are the activeline effect, notice how it's different from the screenshot above.

If indentBase is dontchange, better-align will only align lines with same indentation and will not modify the indentation.

alignment.surroundSpace

Default value:

alignment.surroundSpace : {
"colon" : [0, 1], // The first number specify how much space to add to the left, can be negative.
// The second number is how much space to the right, can be negative.
"assignment" : [1, 1], // The same as above.
"arrow" : [1, 1], // The same as above.
"comment" : 2 // Special how much space to add between the trailing comment and the code.
// If this value is negative, it means don't align the trailing comment.
}