apply suggestions, disable annoying lint rules

This commit is contained in:
silverwind committed 2025-12-04 21:47:14 +01:00
1 parent 80e06d2b71
commit 45c17691d3
4 files changed
+3 -11

No files matched your search

+2 -5
View File
@@ -3,10 +3,7 @@ export function getRepoIcon(repo: Record<string, any>) {
return 'octicon-mirror';
} else if (repo.fork) {
return 'octicon-repo-forked';
} else if (repo.private) {
return 'octicon-repo-locked';
} else if (repo.template) {
return `octicon-repo-template`;
} else {
return 'octicon-repo';
}
return 'octicon-repo';
}