Enable unicorn/prefer-string-slice (#7251)
This commit is contained in:
1 parent
d6a51d34dd
commit
c0517441b2
10 files changed
+23
-16
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
/* eslint-env browser */
|
||||
|
||||
if (location.hash.substring(1).startsWith(encodeURIComponent("{"))) {
|
||||
if (location.hash.slice(1).startsWith(encodeURIComponent("{"))) {
|
||||
location.pathname = "/playground/";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user