From 085107e11031263c5a9800fab55b92e98900d9ff Mon Sep 17 00:00:00 2001 From: Remko Date: Wed, 7 Aug 2024 12:16:50 +0200 Subject: [PATCH] lint fix --- src/entities/catalogi/catalogi.mock.ts | 4 +- src/entities/catalogi/catalogi.ts | 4 +- src/entities/index.js | 17 +- .../organisation/organisation.spec.ts | 4 +- src/entities/organisation/organisation.ts | 4 +- src/main.js | 8 +- src/sidebars/dashboard/DashboardSideBar.vue | 6 +- src/sidebars/search/SearchSideBar.vue | 6 +- src/store/modules/catalogi.spec.js | 40 +-- src/store/modules/configuration.js | 78 +++--- src/store/modules/configuration.spec.js | 48 ++-- src/store/modules/configuration.specs.js | 234 +++++++++--------- src/store/modules/directory.spec.js | 40 +-- src/store/modules/metadata.js | 118 ++++----- src/store/modules/navigation.js | 60 ++--- src/store/modules/organisation.js | 94 +++---- src/store/modules/organisation.spec.js | 86 +++---- src/store/modules/publication.spec.js | 76 +++--- src/store/modules/search.js | 102 ++++---- src/store/modules/theme.js | 90 +++---- src/store/modules/theme.spec.js | 80 +++--- src/store/store.js | 22 +- src/views/organisations/OrganisationIndex.vue | 10 +- src/views/organisations/OrganisationList.vue | 22 +- src/views/publications/PublicationDetail.vue | 2 - 25 files changed, 626 insertions(+), 629 deletions(-) diff --git a/src/entities/catalogi/catalogi.mock.ts b/src/entities/catalogi/catalogi.mock.ts index cf328969..57d81e88 100644 --- a/src/entities/catalogi/catalogi.mock.ts +++ b/src/entities/catalogi/catalogi.mock.ts @@ -1,5 +1,5 @@ -import { Catalogi } from './catalogi'; -import { TCatalogi } from './catalogi.types'; +import { Catalogi } from './catalogi' +import { TCatalogi } from './catalogi.types' export const mockCatalogiData = (): TCatalogi[] => [ { diff --git a/src/entities/catalogi/catalogi.ts b/src/entities/catalogi/catalogi.ts index 5a2d3a50..dd1d1202 100644 --- a/src/entities/catalogi/catalogi.ts +++ b/src/entities/catalogi/catalogi.ts @@ -1,5 +1,5 @@ -import { SafeParseReturnType, z } from 'zod'; -import { TCatalogi } from './catalogi.types'; +import { SafeParseReturnType, z } from 'zod' +import { TCatalogi } from './catalogi.types' export class Catalogi implements TCatalogi { diff --git a/src/entities/index.js b/src/entities/index.js index 4b0a893b..aad3ebda 100644 --- a/src/entities/index.js +++ b/src/entities/index.js @@ -1,10 +1,9 @@ /* eslint-disable import/export */ -export * from './attachment/index.js'; -export * from './catalogi/index.js'; -export * from './configuration/index.js'; -export * from './listing/index.js'; -export * from './metadata/index.js'; -export * from './organisation/index.js'; -export * from './publication/index.js'; -export * from './theme/index.js'; - +export * from './attachment/index.js' +export * from './catalogi/index.js' +export * from './configuration/index.js' +export * from './listing/index.js' +export * from './metadata/index.js' +export * from './organisation/index.js' +export * from './publication/index.js' +export * from './theme/index.js' diff --git a/src/entities/organisation/organisation.spec.ts b/src/entities/organisation/organisation.spec.ts index 375ac9b8..f35b6304 100644 --- a/src/entities/organisation/organisation.spec.ts +++ b/src/entities/organisation/organisation.spec.ts @@ -1,6 +1,6 @@ /* eslint-disable no-console */ -import { Organisation } from './organisation'; -import { mockOrganisation } from './organisation.mock'; +import { Organisation } from './organisation' +import { mockOrganisation } from './organisation.mock' describe('Organisation Store', () => { it('create Organisation entity with full data', () => { diff --git a/src/entities/organisation/organisation.ts b/src/entities/organisation/organisation.ts index ef179d6a..8017e480 100644 --- a/src/entities/organisation/organisation.ts +++ b/src/entities/organisation/organisation.ts @@ -1,5 +1,5 @@ -import { SafeParseReturnType, z } from 'zod'; -import { TOrganisation } from './organisation.types'; +import { SafeParseReturnType, z } from 'zod' +import { TOrganisation } from './organisation.types' export class Organisation implements TOrganisation { diff --git a/src/main.js b/src/main.js index 2c5ec62a..f6bf3bfc 100644 --- a/src/main.js +++ b/src/main.js @@ -7,8 +7,8 @@ Vue.mixin({ methods: { t, n } }) Vue.use(PiniaVuePlugin) new Vue( - { - pinia, - render: h => h(App), - }, + { + pinia, + render: h => h(App), + }, ).$mount('#opencatalogi') diff --git a/src/sidebars/dashboard/DashboardSideBar.vue b/src/sidebars/dashboard/DashboardSideBar.vue index a8591af6..8ac3d9a0 100644 --- a/src/sidebars/dashboard/DashboardSideBar.vue +++ b/src/sidebars/dashboard/DashboardSideBar.vue @@ -14,9 +14,9 @@ import { navigationStore, searchStore, publicationStore } from '../../store/stor - -

{{ searchStore.searchError }}

-
+ +

{{ searchStore.searchError }}

+