chore: enable lint rule for better RegExpes (#14803)

This commit is contained in:
Simen Bekkhus
2023-12-29 09:23:18 +00:00
committed by GitHub
parent ddda5b07d3
commit fa003af962
32 changed files with 60 additions and 74 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
import fs from 'graceful-fs';
const linkRegex =
/\[#(\d+)\]\(https:\/\/github.com\/facebook\/jest\/(issues|pull)\/(\d+)\)/g;
/\[#(\d+)]\(https:\/\/github.com\/facebook\/jest\/(issues|pull)\/(\d+)\)/g;
const changelogPath = 'CHANGELOG.md';
const data = fs.readFileSync(changelogPath, 'utf-8');