Enable regexp/no-useless-lazy rule (#11014)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-12-07 14:15:03 +08:00
1 parent 82e6937d50
commit 294a02b979
11 files changed
+15 -14

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ async function bump({ version }) {
content.replace(/^(\*\*Prettier ).*?(\*\*)$/m, `$1${version}$2`)
);
processFile(".github/ISSUE_TEMPLATE/integration.md", (content) =>
content.replace(/^(- Prettier Version: ).*?$/m, `$1${version}`)
content.replace(/^(- Prettier Version: ).*$/m, `$1${version}`)
);
processFile("docs/install.md", (content) =>
content.replace(/^(npx prettier@)\S+/m, `$1${version}`)