Enable require-unicode-regexp and regexp/strict rule (#16408)
This commit is contained in:
1 parent
22dad9c1a8
commit
c03a12ad2b
127 files changed
+370
-357
No files matched your search
@@ -23,7 +23,7 @@ window.addEventListener("load", () => {
|
||||
logoWrapper.addEventListener("dragstart", handleLogoDrag);
|
||||
|
||||
lastDash.addEventListener("animationend", (event) => {
|
||||
if (/roll/.test(event.animationName)) {
|
||||
if (/roll/u.test(event.animationName)) {
|
||||
logo.classList.remove("rolling");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -53,4 +53,4 @@ toolbox.router.default = toolbox.networkFirst;
|
||||
|
||||
// For scripts, stylesheets and images, we can use the "fastest" strategy
|
||||
// This means you need to reload twice to get new changes
|
||||
toolbox.router.get(/\.(js|css|png|svg)$/, toolbox.fastest);
|
||||
toolbox.router.get(/\.(js|css|png|svg)$/u, toolbox.fastest);
|
||||
Reference in new issue
Block a user