xo: Enable @typescript-eslint/member-ordering.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-04-25 17:11:51 -07:00
committed by Anders Kaseorg
parent 963c2e5388
commit 39c6fa4ace
5 changed files with 16 additions and 16 deletions

View File

@@ -2,6 +2,12 @@ import Tab, { TabProps } from './tab';
export default class FunctionalTab extends Tab {
$closeButton: Element;
constructor(props: TabProps) {
super(props);
this.init();
}
template(): string {
return `<div class="tab functional-tab" data-tab-id="${this.props.tabIndex}">
<div class="server-tab-badge close-button">
@@ -13,11 +19,6 @@ export default class FunctionalTab extends Tab {
</div>`;
}
constructor(props: TabProps) {
super(props);
this.init();
}
init(): void {
this.$el = this.generateNodeFromTemplate(this.template());
if (this.props.name !== 'Settings') {