sindresorhus / awesome-lint

Linter for Awesome lists
MIT License
600 stars 56 forks source link

awesome-git-repo-age and awesome-git-repo-age are working probably wrong #195

Open ByteSnipers opened 3 months ago

ByteSnipers commented 3 months ago

I have tested several repos and both rules are always triggered, even if the repo meet the requirements.

Affected repo: https://github.com/sindresorhus/awesome/

How to reproduce.

Run npx awesome-lint https://github.com/sindresorhus/awesome/

Output:

readme.md:58:12 ✖ 1:1 Missing main list heading remark-lint:awesome-heading ✖ 1:1 Git repository must be at least 30 days old remark-lint:awesome-git-repo-age ✖ 1:1 Awesome list must reside in a valid git repository remark-lint:awesome-github ✖ 58:12 "’" is used without matching "‘" remark-lint:match-punctuation

the link is deferentially a github link and the repo is older than 30 days