Lint all tests (#1235)

This commit is contained in:
Daniel Huigens
2021-02-12 22:27:59 +01:00
parent 8f8517702e
commit b6edfe646b
28 changed files with 806 additions and 775 deletions

View File

@@ -1,3 +1,5 @@
/* globals openpgp: true */
importScripts('../../dist/openpgp.js');
const publicKeyArmored = `-----BEGIN PGP PUBLIC KEY BLOCK-----
@@ -71,7 +73,7 @@ onmessage = async function({ data: { action, message }, ports: [port] }) {
}
port.postMessage({ result });
} catch (e) {
console.error(e);
console.error(e); // eslint-disable-line no-console
port.postMessage({ error: e.message });
}
};