ESlint formatting - line up declarations?

Viewed 114

Is there a rule or plug-in that will cause an es-lint error or warning if declarations within a scope are not spaced like the below, with the same alignment of assignment operator?

var a   = 'a';
var bb  = 'b';
var ccc = 'd';
var x   = function () {
    this.thing = 1;
    this.o     = 2;
    return this;
};
1 Answers
Related