sindresorhus/eslint-plugin-unicorn
`expiring-todo-comments` should not throw in the recommended setting
已关闭
#1,207 创建于 2021年4月24日
enhancementhelp wanted
仓库指标
- 星标
- (5,022 个星标)
- PR 合并指标
- (平均合并 1天 16小时) (30 天内合并 399 个 PR)
描述
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: