Skip to content

Commit

Permalink
Enforce eslint no-unused-vars (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth authored Jul 21, 2023
1 parent 3abd8eb commit a383c94
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
],
"rules": {
"no-console": "error",
"no-unused-vars": "warn",
"no-prototype-builtins": "error",
"one-var": ["error", "never"],
"no-duplicate-imports": "error",
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion src/signed-xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class SignedXml {
*/
inclusiveNamespacesPrefixList: string[] = [];
namespaceResolver: XPathNSResolver = {
lookupNamespaceURI: function (prefix) {
lookupNamespaceURI: function (/* prefix */) {
throw new Error("Not implemented");
},
};
Expand Down
1 change: 0 additions & 1 deletion test/key-info-tests.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { select } from "xpath";
import * as xmldom from "@xmldom/xmldom";
import * as fs from "fs";
import * as xpath from "xpath";
Expand Down

0 comments on commit a383c94

Please sign in to comment.