Chore: Eslint rule to enforce element suffix (#625)

* add eslint rule to enforce element suffix on elements

* remove fixer

* rename first round of elements

* add element to element class name

* add element suffix

* rename element

* add element to UmbControllerHost instead of interface

* update imports after merge

* remove fixable flag

* fix after merge
This commit is contained in:
Mads Rasmussen
2023-03-29 17:56:39 +02:00
committed by GitHub
parent 82faa2971b
commit 70c2f70420
215 changed files with 739 additions and 712 deletions

View File

@@ -1,8 +1,8 @@
import { Observable } from 'rxjs';
import { UmbControllerHostInterface } from '@umbraco-cms/backoffice/controller';
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
export interface UmbWorkspaceContextInterface<T = unknown> {
host: UmbControllerHostInterface;
host: UmbControllerHostElement;
repository: any; // TODO: add type
isNew: Observable<boolean>;
getIsNew(): boolean;