Enable unicorn/prefer-string-slice (#7251)

This commit is contained in:
fisker Cheung authored and Evilebot Tnawi committed 2020-01-23 15:15:28 +03:00
1 parent d6a51d34dd
commit c0517441b2
10 files changed
+23 -16

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-env browser */
if (location.hash.substring(1).startsWith(encodeURIComponent("{"))) {
if (location.hash.slice(1).startsWith(encodeURIComponent("{"))) {
location.pathname = "/playground/";
}