diff --git a/.eslintrc.json b/.eslintrc.json index 35a12381..6b80b465 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,7 +19,6 @@ ], "rules": { "no-console": "error", - "no-unused-vars": "warn", "no-prototype-builtins": "error", "one-var": ["error", "never"], "no-duplicate-imports": "error", @@ -31,7 +30,7 @@ "prefer-template": "error", "deprecation/deprecation": "error", "@typescript-eslint/no-non-null-assertion": "error", - "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/no-this-alias": "error" } } diff --git a/src/signed-xml.ts b/src/signed-xml.ts index 43af106d..761331e4 100644 --- a/src/signed-xml.ts +++ b/src/signed-xml.ts @@ -46,7 +46,7 @@ export class SignedXml { */ inclusiveNamespacesPrefixList: string[] = []; namespaceResolver: XPathNSResolver = { - lookupNamespaceURI: function (prefix) { + lookupNamespaceURI: function (/* prefix */) { throw new Error("Not implemented"); }, }; diff --git a/test/key-info-tests.spec.ts b/test/key-info-tests.spec.ts index 964beb98..e46b2577 100644 --- a/test/key-info-tests.spec.ts +++ b/test/key-info-tests.spec.ts @@ -1,4 +1,3 @@ -import { select } from "xpath"; import * as xmldom from "@xmldom/xmldom"; import * as fs from "fs"; import * as xpath from "xpath";