Skip to content

Commit 8dbdb99

Browse files
committed
lint fixes
1 parent ff12bda commit 8dbdb99

File tree

39 files changed

+86
-88
lines changed

39 files changed

+86
-88
lines changed

src/assets/lang/en-us.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2524,6 +2524,6 @@ export default {
25242524
},
25252525
routing: {
25262526
routeNotFoundTitle: 'Not found',
2527-
routeNotFoundDescription: 'The requested route could not be found. Please check the URL and try again.'
2528-
}
2527+
routeNotFoundDescription: 'The requested route could not be found. Please check the URL and try again.',
2528+
},
25292529
} as UmbLocalizationDictionary;

src/libs/extension-api/controller/base-extension-initializer.controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ export abstract class UmbBaseExtensionInitializer<
211211
// Check if we already have a controller for this config:
212212
const existing = this.#conditionControllers.find((controller) => controller.config === conditionConfig);
213213
if (!existing) {
214-
215214
// TODO: Be aware that we might not have a host element any longer at this moment, but I did not want to make a fix for it jet, as its a good indication to if something else is terrible wrong [NL]
216215
const conditionController = await createExtensionApi(this, conditionManifest, [
217216
{

src/packages/block/block-grid/components/block-grid-area-config-entry/block-grid-area-config-entry.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { UmbBlockGridAreaConfigEntryContext } from './block-grid-area-config-entry.context.js';
12
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
23
import { html, css, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
34
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/extension-registry';
4-
import { UmbBlockGridAreaConfigEntryContext } from './block-grid-area-config-entry.context.js';
55
import '../block-grid-block/index.js';
66
import '../block-scale-handler/index.js';
77

src/packages/block/block-grid/components/block-grid-area-config-entry/workspace/block-grid-area-type-workspace.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { UmbBlockGridTypeAreaType } from '../../../types.js';
12
import type { UmbPropertyDatasetContext } from '@umbraco-cms/backoffice/property';
23
import { UMB_PROPERTY_CONTEXT } from '@umbraco-cms/backoffice/property';
34
import type {
@@ -13,7 +14,6 @@ import { UmbArrayState, UmbObjectState, appendToFrozenArray } from '@umbraco-cms
1314
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
1415
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
1516
import type { ManifestWorkspace, PropertyEditorSettingsProperty } from '@umbraco-cms/backoffice/extension-registry';
16-
import type { UmbBlockGridTypeAreaType } from '../../../types.js';
1717

1818
export class UmbBlockGridAreaTypeWorkspaceContext
1919
extends UmbSubmittableWorkspaceContextBase<UmbBlockGridTypeAreaType>

src/packages/block/block-grid/components/block-grid-areas-container/block-grid-areas-container.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { UMB_BLOCK_GRID_MANAGER_CONTEXT } from '../../context/block-grid-manager.context-token.js';
12
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
23
import { css, customElement, html, repeat, state } from '@umbraco-cms/backoffice/external/lit';
3-
import { UMB_BLOCK_GRID_MANAGER_CONTEXT } from '../../context/block-grid-manager.context-token.js';
44
import { UMB_BLOCK_GRID_ENTRY_CONTEXT, type UmbBlockGridTypeAreaType } from '@umbraco-cms/backoffice/block-grid';
55

66
import '../block-grid-entries/index.js';

src/packages/block/block-grid/context/block-grid-entry.context.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import type { UmbContentTypeModel, UmbPropertyTypeModel } from '@umbraco-cms/backoffice/content-type';
2-
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
1+
import { closestColumnSpanOption } from '../utils/index.js';
2+
import { UMB_BLOCK_GRID_MANAGER_CONTEXT } from './block-grid-manager.context-token.js';
3+
import { UMB_BLOCK_GRID_ENTRIES_CONTEXT } from './block-grid-entries.context-token.js';
4+
import {
5+
type UmbBlockGridScalableContext,
6+
UmbBlockGridScaleManager,
7+
} from './block-grid-scale-manager/block-grid-scale-manager.controller.js';
38
import {
49
UmbArrayState,
510
UmbBooleanState,
@@ -8,13 +13,8 @@ import {
813
appendToFrozenArray,
914
observeMultiple,
1015
} from '@umbraco-cms/backoffice/observable-api';
11-
import { closestColumnSpanOption } from '../utils/index.js';
12-
import { UMB_BLOCK_GRID_MANAGER_CONTEXT } from './block-grid-manager.context-token.js';
13-
import { UMB_BLOCK_GRID_ENTRIES_CONTEXT } from './block-grid-entries.context-token.js';
14-
import {
15-
type UmbBlockGridScalableContext,
16-
UmbBlockGridScaleManager,
17-
} from './block-grid-scale-manager/block-grid-scale-manager.controller.js';
16+
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
17+
import type { UmbContentTypeModel, UmbPropertyTypeModel } from '@umbraco-cms/backoffice/content-type';
1818
import { UmbBlockEntryContext } from '@umbraco-cms/backoffice/block';
1919
import type { UmbBlockGridTypeModel, UmbBlockGridLayoutModel } from '@umbraco-cms/backoffice/block-grid';
2020

src/packages/block/block-grid/context/block-grid-scale-manager/block-grid-scale-manager.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { closestColumnSpanOption } from '../../utils/index.js';
12
import { getAccumulatedValueOfIndex, getInterpolatedIndexOfPositionInWeightMap } from '@umbraco-cms/backoffice/utils';
23
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
34
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
4-
import { closestColumnSpanOption } from '../../utils/index.js';
55

66
// This might be more generic than Block Grid, but this is where it belongs currently:
77
export interface UmbBlockGridScalableContext extends UmbControllerHost {

src/packages/block/block-grid/property-editors/block-grid-areas-config/property-editor-ui-block-grid-areas-config.element.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import { UMB_BLOCK_GRID_AREA_TYPE_WORKSPACE_MODAL } from '../../components/block-grid-area-config-entry/index.js';
2+
import { UMB_BLOCK_GRID_DEFAULT_LAYOUT_STYLESHEET } from '../../context/block-grid-manager.context.js';
3+
import type { UmbBlockGridTypeAreaType } from '../../index.js';
4+
import { UmbBlockGridAreaTypeEntriesContext } from './block-grid-area-type-entries.context.js';
15
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
26
import { html, customElement, property, state, repeat } from '@umbraco-cms/backoffice/external/lit';
37
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/extension-registry';
@@ -9,10 +13,6 @@ import {
913
import { UmbId } from '@umbraco-cms/backoffice/id';
1014
import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/router';
1115
import { incrementString } from '@umbraco-cms/backoffice/utils';
12-
import { UMB_BLOCK_GRID_AREA_TYPE_WORKSPACE_MODAL } from '../../components/block-grid-area-config-entry/index.js';
13-
import { UMB_BLOCK_GRID_DEFAULT_LAYOUT_STYLESHEET } from '../../context/block-grid-manager.context.js';
14-
import type { UmbBlockGridTypeAreaType } from '../../index.js';
15-
import { UmbBlockGridAreaTypeEntriesContext } from './block-grid-area-type-entries.context.js';
1616

1717
@customElement('umb-property-editor-ui-block-grid-areas-config')
1818
export class UmbPropertyEditorUIBlockGridAreasConfigElement

src/packages/block/block-grid/workspace/manifests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
21
import { manifests as workspaceViewManifests } from './views/manifests.js';
32
import { UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS } from './index.js';
3+
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
44

55
export const manifests: Array<ManifestTypes> = [
66
...workspaceViewManifests,

src/packages/block/block-grid/workspace/views/manifests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
21
import { UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS } from '../index.js';
2+
import type { ManifestTypes, ManifestWorkspaceView } from '@umbraco-cms/backoffice/extension-registry';
33

44
export const workspaceViews: Array<ManifestWorkspaceView> = [
55
{
@@ -53,7 +53,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
5353
{
5454
alias: 'Umb.Condition.WorkspaceAlias',
5555
match: UMB_BLOCK_GRID_TYPE_WORKSPACE_ALIAS,
56-
}
56+
},
5757
],
5858
},
5959
];

0 commit comments

Comments
 (0)