Set printWidth to 100 for code files

This commit is contained in:
Joscha 2025-02-07 21:53:19 +01:00
parent 2531e7d640
commit b70903ef6f
6 changed files with 19 additions and 41 deletions

View file

@ -23,10 +23,7 @@ export const useNotesStore = defineStore("notes", () => {
});
}
function appendNewChildNote(
parentId: string,
text: string,
): Note | undefined {
function appendNewChildNote(parentId: string, text: string): Note | undefined {
const parent = notes.value.get(parentId);
if (parent === undefined) return undefined;
const note = addNewNote(text);

View file

@ -21,9 +21,7 @@ export const useReposStore = defineStore("repos", () => {
return values;
});
const repoIdsByName = computed<string[]>(() =>
reposByName.value.map((it) => it.id),
);
const repoIdsByName = computed<string[]>(() => reposByName.value.map((it) => it.id));
function addRepo(repo: Repo) {
repos.value.set(repo.id, repo);