diff --git a/eslint/rules/todo-should-have-issue.js b/eslint/rules/todo-should-have-issue.js index 8f9c531d8..7a4328fa9 100644 --- a/eslint/rules/todo-should-have-issue.js +++ b/eslint/rules/todo-should-have-issue.js @@ -13,7 +13,7 @@ const path = require( 'path' ); const fs = require( 'fs' ); const issueShorthandRegex = /#(\d+)/; -const urlRegex = /https:\/\/github.com\/phetsims\/[^\s]*/; +const urlRegex = /https:\/\/github.com\/phetsims\/[-\w]+\/issues\/\d+/; const filename = 'issuesFromTODOs.txt'; const todoIssuesFilepath = path.resolve( __dirname, `../../dist/${filename}` );