mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
chore: enable lint rule for better RegExpes (#14803)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user