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

@ -6,7 +6,7 @@ class MathDegreeHideAttributes extends XmlAttributeComponent<{ readonly hide: nu
}
export class MathDegreeHide extends XmlComponent {
constructor() {
public constructor() {
super("m:degHide");
this.root.push(new MathDegreeHideAttributes({ hide: 1 }));

View File

@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
import { MathComponent } from "../math-component";
export class MathDegree extends XmlComponent {
constructor(children?: MathComponent[]) {
public constructor(children?: MathComponent[]) {
super("m:deg");
if (!!children) {

View File

@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
import { MathDegreeHide } from "./math-degree-hide";
export class MathRadicalProperties extends XmlComponent {
constructor(hasDegree: boolean) {
public constructor(hasDegree: boolean) {
super("m:radPr");
if (!hasDegree) {

View File

@ -12,7 +12,7 @@ export interface IMathRadicalOptions {
}
export class MathRadical extends XmlComponent {
constructor(options: IMathRadicalOptions) {
public constructor(options: IMathRadicalOptions) {
super("m:rad");
this.root.push(new MathRadicalProperties(!!options.degree));