sindresorhus/eslint-plugin-unicorn

`expiring-todo-comments` should not throw in the recommended setting

Closed

#1,207 opened on Apr 24, 2021

 (0 comments) (1 reaction) (0 assignees)JavaScript (468 forks)user submission
enhancementhelp wanted

Repository metrics

Stars
 (5,022 stars)
PR merge metrics
 (Avg merge 1d 16h) (399 merged PRs in 30d)

Description

https://github.com/sindresorhus/eslint-plugin-unicorn/blob/b1a5f5341357f63094addd972c896c08624b73f4/index.js#L50

You don't want lint to start failing automatically on a set date, generally, so I'd suggest setting it to warn instead of error

no-warning-comments is also set to warn:

https://github.com/xojs/eslint-config-xo/blob/dd613d331eb3af44137cfbac69cc51de87b7f3f5/index.js#L180

Alternative solutions in my comment:

Contributor guide