Hi guys,

can ESLint force alignment of var, let *and const* blocks? I know it can do 
var and let, but what about the const?

var start = 0,
    end = 10;

let start = 0,
    end = 10;

const start = 0,
      end = 10;

I'm using indent rule, but it can only take a multiplication of basic 
indentation as a parameter and that must be an integer. My base is 4, so it 
doesn't seem possible to align const block like that. It is possible for 
var and let, but only because they indeed take 4 characters to align.

Am I missing some feature?

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to