Skip to content

Commit ece1337

Browse files
futpibsindresorhus
authored andcommitted
Buy us some time to fix example expiring todo comments (fix #407) (#413)
1 parent 48d6356 commit ece1337

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

rules/expiring-todo-comments.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable unicorn/expiring-todo-comments */
21
'use strict';
32
const readPkgUp = require('read-pkg-up');
43
const semver = require('semver');
@@ -189,9 +188,9 @@ const create = context => {
189188
// Block comments come as one.
190189
// Split for situations like this:
191190
// /*
192-
// * TODO [2000-01-01]: Validate this
193-
// * TODO [2000-01-01]: And this
194-
// * TODO [2000-01-01]: Also this
191+
// * TODO [2999-01-01]: Validate this
192+
// * TODO [2999-01-01]: And this
193+
// * TODO [2999-01-01]: Also this
195194
// */
196195
.map(comment =>
197196
comment.value.split('\n').map(line => ({

0 commit comments

Comments
 (0)