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

@ -5,7 +5,7 @@ import { ExtentsAttributes } from "./extents-attributes";
export class Extents extends XmlComponent {
private readonly attributes: ExtentsAttributes;
constructor(x: number, y: number) {
public constructor(x: number, y: number) {
super("a:ext");
this.attributes = new ExtentsAttributes({

View File

@ -21,7 +21,7 @@ export class FormAttributes extends XmlAttributeComponent<{
export class Form extends XmlComponent {
private readonly extents: Extents;
constructor(options: IMediaDataTransformation) {
public constructor(options: IMediaDataTransformation) {
super("a:xfrm");
this.root.push(

View File

@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
import { OffsetAttributes } from "./off-attributes";
export class Offset extends XmlComponent {
constructor() {
public constructor() {
super("a:off");
this.root.push(

View File

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

View File

@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
import { NoFill } from "./no-fill";
export class Outline extends XmlComponent {
constructor() {
public constructor() {
super("a:ln");
this.root.push(new NoFill());

View File

@ -2,7 +2,7 @@
import { XmlComponent } from "@file/xml-components";
export class AdjustmentValues extends XmlComponent {
constructor() {
public constructor() {
super("a:avLst");
}
}

View File

@ -4,7 +4,7 @@ import { AdjustmentValues } from "./adjustment-values/adjustment-values";
import { PresetGeometryAttributes } from "./preset-geometry-attributes";
export class PresetGeometry extends XmlComponent {
constructor() {
public constructor() {
super("a:prstGeom");
this.root.push(

View File

@ -10,7 +10,7 @@ import { ShapePropertiesAttributes } from "./shape-properties-attributes";
export class ShapeProperties extends XmlComponent {
private readonly form: Form;
constructor(transform: IMediaDataTransformation) {
public constructor(transform: IMediaDataTransformation) {
super("pic:spPr");
this.root.push(