diff --git a/index.ts b/index.ts index 1b0d94c..8af5bc8 100644 --- a/index.ts +++ b/index.ts @@ -239,6 +239,8 @@ collect.set('isRepo', [ 'https://github.com/sindresorhus/refined-github/issues/templates/edit', // Gotcha for isRepoIssueList ]); +export const isEmptyRepo = (): boolean => isRepo() && exists('.blankslate'); + export const isRepoTaxonomyDiscussionList = (url: URL | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepoPath(url)!); collect.set('isRepoTaxonomyDiscussionList', [ 'https://github.com/sindresorhus/refined-github/labels/Priority%3A%20critical',