Enable unicorn/prefer-string-replace-all rule (#13788)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user