We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isEmptyRepo
1 parent f8f7235 commit c41b668Copy full SHA for c41b668
index.ts
@@ -239,6 +239,8 @@ collect.set('isRepo', [
239
'https://github.com/sindresorhus/refined-github/issues/templates/edit', // Gotcha for isRepoIssueList
240
]);
241
242
+export const isEmptyRepo = (): boolean => isRepo() && exists('.blankslate');
243
+
244
export const isRepoTaxonomyDiscussionList = (url: URL | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepoPath(url)!);
245
collect.set('isRepoTaxonomyDiscussionList', [
246
'https://github.com/sindresorhus/refined-github/labels/Priority%3A%20critical',
0 commit comments