Enable unicorn/prefer-string-replace-all rule (#13788)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-11-06 19:55:24 +08:00
1 parent db43ab6409
commit 9eafbf6854
17 files changed
+107 -37

No files matched your search

@@ -32,7 +32,7 @@ module.exports = {
return;
}
const fixed = name.replace(/JSX/g, "Jsx");
const fixed = name.replaceAll("JSX", "Jsx");
context.report({
node,
messageId: MESSAGE_ID,