* Add hardline for a class whose extends part is broken refactor Use groupId Remove isPreviousLineEmpty * Avoid leading comments * Rename to heritage * Add heuristic for implements * Fix lint problems * Fix Fix Fix * Extract getGroupId patterns * Adopots solution 2 * Fix * Fix lint problem * Add changelog * Address reviews * Update tests * Rename to createGroupIdMapper * Split files * Add tests for complex extends * Fix changelog
18 lines
490 B
JavaScript
18 lines
490 B
JavaScript
class loooooooooooooooooooong1 extends foooooooo(foooooooo(foooooooo(foooooooo(foooooooo(foooooooo(foooooooo(foooooooo()))))))) {}
|
|
|
|
class loooooooooooooooooooong2 extends function (make, model, year, owner) {
|
|
this.make = make;
|
|
this.model = model;
|
|
this.year = year;
|
|
this.owner = owner;
|
|
} {}
|
|
|
|
class loooooooooooooooooooong3 extends class {
|
|
cconstructor(make, model, year, owner) {
|
|
this.make = make;
|
|
this.model = model;
|
|
this.year = year;
|
|
this.owner = owner;
|
|
}
|
|
} {}
|