sindresorhus/eslint-plugin-unicorn

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

Open

#1,207 创建于 2021年4月24日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)JavaScript (5,022 star) (468 fork)user submission
enhancementhelp wanted

描述

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:

贡献者指南