Enable unicorn/better-regex (#7991)

* Enable `unicorn/better-regex`

* Spellcheck ignore regex
This commit is contained in:
fisker Cheung authored and GitHub committed 2020-04-10 21:20:40 +08:00
1 parent 1221598304
commit f0207e6850
31 files changed
+60 -57

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ async function bump({ version }) {
// Update unpkg link in docs
processFile("docs/browser.md", (content) =>
content.replace(/(\/\/unpkg\.com\/prettier@)(?:.*?)\//g, `$1${version}/`)
content.replace(/(\/\/unpkg\.com\/prettier@).*?\//g, `$1${version}/`)
);
await execa("yarn", ["update-stable-docs"], {