diff --git a/.eslintrc b/.eslintrc index e41e60a6..ce971dc0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -205,18 +205,18 @@ "[methods]", "[everything-else]" ], - groups: { - methods: [ + "groups": { + "methods": [ { - sort: 'alphabetical', - type: 'method' + "sort": "alphabetical", + "type": "method" } ], "conventional-private-methods": [ { - name: '/_.+/', - sort: 'alphabetical', - type: 'method', + "name": "/_.+/", + "sort": "alphabetical", + "type": "method" } ] }, diff --git a/src/js/bg/lib/crypto.js b/src/js/bg/lib/crypto.js index ad4ff86e..457874f0 100644 --- a/src/js/bg/lib/crypto.js +++ b/src/js/bg/lib/crypto.js @@ -79,7 +79,7 @@ class Crypto { if (this.app.env.isBrowser) { let binary = '' let bytes = new Uint8Array(data) - let len = bytes.byteLength; + let len = bytes.byteLength for (let i = 0; i < len; i++) { binary += String.fromCharCode(bytes[i]) }