diff --git a/.eslintrc.js b/.eslintrc.js index a9f9b74..924ad0a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -55,7 +55,7 @@ module.exports = { "import/no-extraneous-dependencies": ["error", { "devDependencies": false, "optionalDependencies": false, - "peerDependencies": false + "peerDependencies": true }], "func-call-spacing": "off", "max-len": ["error", { diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..82a9a73 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.eslintrc.js \ No newline at end of file diff --git a/src/functional.ts b/src/functional.ts index ef78f8c..f25e670 100644 --- a/src/functional.ts +++ b/src/functional.ts @@ -1,6 +1,8 @@ import assert from "assert"; import {IBls} from "./interface"; +// Returned type is enforced at each implementation's index +// eslint-disable-next-line @typescript-eslint/explicit-function-return-type export function functionalInterfaceFactory({ PrivateKey, PublicKey,