refactor: move to eslint

This commit is contained in:
Rainer Killinger
2022-08-17 16:02:34 +02:00
parent c1dc7b4e8f
commit f864c64efa
92 changed files with 2287 additions and 1871 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 StApps
* Copyright (C) 2019-2022 Open StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -18,8 +18,7 @@ import {SCThing, SCThingMeta, SCThingType, SCThingWithoutReferences} from './abs
/**
* A tour without references
*/
export interface SCTourWithoutReferences
extends SCThingWithoutReferences {
export interface SCTourWithoutReferences extends SCThingWithoutReferences {
/**
* Init script for the tour
*
@@ -46,8 +45,7 @@ export interface SCTourWithoutReferences
* @validatable
* @indexable
*/
export interface SCTour
extends SCTourWithoutReferences, SCThing {
export interface SCTour extends SCTourWithoutReferences, SCThing {
/**
* Type of a tour
*/
@@ -57,9 +55,7 @@ export interface SCTour
/**
* Meta information about a tour
*/
export class SCTourMeta
extends SCThingMeta
implements SCMetaTranslations<SCTour> {
export class SCTourMeta extends SCThingMeta implements SCMetaTranslations<SCTour> {
/**
* Translations of fields
*/
@@ -94,10 +90,7 @@ export class SCTourMeta
/**
* A step in a tour
*/
export type SCTourStep =
SCTourStepMenu
| SCTourStepLocation
| SCTourStepTooltip;
export type SCTourStep = SCTourStepMenu | SCTourStepLocation | SCTourStepTooltip;
/**
* A location of a tour step