Skip to content

Commit

Permalink
Merge pull request #380 from docknetwork/rem-underscore
Browse files Browse the repository at this point in the history
Remove unused import of underscore
  • Loading branch information
cykoder authored Nov 15, 2023
2 parents 2c3882a + f2530fa commit 27a4bf8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": ["jest", "sonarjs"],
"plugins": ["jest", "sonarjs", "unused-imports"],
"globals": {
"process": "readonly"
},
Expand All @@ -23,6 +23,7 @@
"variables": true
}
],
"unused-imports/no-unused-imports": "error",
"no-void": "off",
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"import/no-extraneous-dependencies": "off",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/sdk",
"version": "6.8.1",
"version": "6.8.2",
"main": "index.js",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -36,6 +36,7 @@
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^24.5.0",
"eslint-plugin-sonarjs": "0.5.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eth-revert-reason": "^1.0.3",
"ethers": "^5.4",
"ethr-did-resolver": "^2.2.0",
Expand Down
1 change: 0 additions & 1 deletion src/utils/vc/crypto/common/DockCryptoSignature.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { initializeWasm, CredentialSchema, DefaultSchemaParsingOpts } from '@docknetwork/crypto-wasm-ts';
import * as _ from 'underscore';

import jsonld from 'jsonld';
import { SECURITY_CONTEXT_URL } from 'jsonld-signatures';
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6325,6 +6325,18 @@ [email protected]:
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.5.0.tgz#ce17b2daba65a874c2862213a9e38e8986ad7d7d"
integrity sha512-XW5MnzlRjhXpIdbULC/qAdJYHWw3rRLws/DyawdlPU/IdVr9AmRK1r2LaCvabwKOAW2XYYSo3kDX58E4MrB7PQ==

eslint-plugin-unused-imports@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.0.0.tgz#d25175b0072ff16a91892c3aa72a09ca3a9e69e7"
integrity sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==
dependencies:
eslint-rule-composer "^0.3.0"

eslint-rule-composer@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==

eslint-scope@^5.0.0, eslint-scope@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
Expand Down

0 comments on commit 27a4bf8

Please sign in to comment.