Initial ESlint conversion

This commit is contained in:
Dolan Miu
2022-08-31 07:52:27 +01:00
parent d7a9cb2168
commit 1bdf9a4987
210 changed files with 4685 additions and 333 deletions

View File

@ -2,7 +2,7 @@ import { Run } from "@file/paragraph";
import { ContinuationSeperator } from "./continuation-seperator";
export class ContinuationSeperatorRun extends Run {
constructor() {
public constructor() {
super({});
this.root.push(new ContinuationSeperator());

View File

@ -1,7 +1,7 @@
import { XmlComponent } from "@file/xml-components";
export class ContinuationSeperator extends XmlComponent {
constructor() {
public constructor() {
super("w:continuationSeparator");
}
}

View File

@ -3,7 +3,7 @@ import { Run } from "@file/paragraph";
import { FootnoteRef } from "./footnote-ref";
export class FootnoteRefRun extends Run {
constructor() {
public constructor() {
super({
style: "FootnoteReference",
});

View File

@ -1,7 +1,7 @@
import { XmlComponent } from "@file/xml-components";
export class FootnoteRef extends XmlComponent {
constructor() {
public constructor() {
super("w:footnoteRef");
}
}

View File

@ -10,7 +10,7 @@ export class FootNoteReferenceRunAttributes extends XmlAttributeComponent<{
}
export class FootnoteReference extends XmlComponent {
constructor(id: number) {
public constructor(id: number) {
super("w:footnoteReference");
this.root.push(
@ -22,7 +22,7 @@ export class FootnoteReference extends XmlComponent {
}
export class FootnoteReferenceRun extends Run {
constructor(id: number) {
public constructor(id: number) {
super({ style: "FootnoteReference" });
this.root.push(new FootnoteReference(id));

View File

@ -2,7 +2,7 @@ import { Run } from "@file/paragraph";
import { Seperator } from "./seperator";
export class SeperatorRun extends Run {
constructor() {
public constructor() {
super({});
this.root.push(new Seperator());

View File

@ -1,7 +1,7 @@
import { XmlComponent } from "@file/xml-components";
export class Seperator extends XmlComponent {
constructor() {
public constructor() {
super("w:separator");
}
}