Skip to content

Commit

Permalink
lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Dorofeev committed Jun 13, 2024
1 parent 98f5d9b commit ef81e93
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion apps/d0rich.me/app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup lang="ts">
const { key } = useTransitionAnimationWorkaround()
const route = useRoute()
Expand Down
5 changes: 1 addition & 4 deletions apps/d0rich.me/components/homepage/B1Intro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ onMounted(() => {
</script>

<template>
<section
v-if="data"
style="height: 200vh"
>
<section v-if="data" style="height: 200vh">
<div class="sticky top-0">
<div
:ref="(el) => { introContainer = el as Element }"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export class ProjectsRepository {
async getProjects() {
const parsedProjects = await this.parseProjects()
const externalProjects = await GithubRepository.getExternalReposPagesMeta()
return [...parsedProjects, ...externalProjects].filter(project => typeof project === 'object')
return [...parsedProjects, ...externalProjects].filter(
(project) => typeof project === 'object'
)
}

async getProjectsSortedByDate() {
Expand Down Expand Up @@ -63,7 +65,8 @@ export class ProjectsRepository {
joinURL(url, '_d0rich/meta.json')
)
} catch (e) {}
}).filter((project) => typeof project === 'object')
})
.filter((project) => typeof project === 'object')
const d0xigenProjectsWithEmpty = await Promise.all(d0xigenProjectsPromises)
return d0xigenProjectsWithEmpty.filter(
(project) => !!project
Expand Down
5 changes: 1 addition & 4 deletions apps/design.d0rich.me/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ export default defineNuxtConfig({
},
nitro: {
prerender: {
routes: [
'/',
'/_d0rich/meta.json'
]
routes: ['/', '/_d0rich/meta.json']
}
}
})
4 changes: 3 additions & 1 deletion packages/d0xigen/components/d/layout/NavSidebar/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export default {

<script setup lang="ts">
const { showContentTree } = useDocsLayoutState()
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())
const { data: navigation } = await useAsyncData('navigation', () =>
fetchContentNavigation()
)
</script>

<template>
Expand Down
2 changes: 1 addition & 1 deletion packages/esprit-design/src/composables/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function useLink(props: LinkProps) {
)
})
const propsToProvide = computed(() => {
const propsToProvide: Record<string, any> = {...props}
const propsToProvide: Record<string, any> = { ...props }
if (props.href && props.to) {
delete propsToProvide.href
} else if (props.href) {
Expand Down

0 comments on commit ef81e93

Please sign in to comment.