autoimport with eslint now

This commit is contained in:
Julien Calixte
2023-08-14 18:04:27 +02:00
parent c0182c7f57
commit 2cab8c8e3f
51 changed files with 2121 additions and 4246 deletions

View File

@@ -1,8 +1,9 @@
import { Ref, ref, toValue } from 'vue'
import { useMarkdown } from '@/hooks/useMarkdown.hook'
import { prepareNoteCache } from '@/modules/note/cache/prepareNoteCache'
import { getFileContent } from '@/modules/repo/services/repo'
import { useUserRepoStore } from '@/modules/repo/store/userRepo.store'
import { Ref, ref, toValue } from 'vue'
export const useFile = (sha: Ref<string> | string, retrieveContent = true) => {
const { render } = useMarkdown(toValue(sha))