Enable ESLint no-useless-escape (#23311)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-13 15:12:14 +01:00
1 parent 4da5f77d92
commit db2c58d47a
12 files changed
+11 -12

No files matched your search

@@ -8,7 +8,7 @@ import { me } from '../../initial_state';
const urlBase64ToUint8Array = (base64String) => {
const padding = '='.repeat((4 - base64String.length % 4) % 4);
const base64 = (base64String + padding)
.replace(/\-/g, '+')
.replace(/-/g, '+')
.replace(/_/g, '/');
return decodeBase64(base64);