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,7 +1,7 @@
import type { UmbExtensionRegistry } from './registry/extension.registry';
import type { UmbControllerHostInterface } from '@umbraco-cms/backoffice/controller';
import type { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
export type UmbEntrypointOnInit = (host: UmbControllerHostInterface, extensionRegistry: UmbExtensionRegistry) => void;
export type UmbEntrypointOnInit = (host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry) => void;
/**
* Interface containing supported life-cycle functions for ESModule entrypoints