Skip to content

Commit 3696a35

Browse files
committed
fix: eslint errors
1 parent 1166d4e commit 3696a35

File tree

4 files changed

+111
-405
lines changed

4 files changed

+111
-405
lines changed

packages/libs/contracts-sdk/eslint.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,14 @@ module.exports = [
66
{
77
ignores: ['**/lib/**/*'],
88
},
9+
{
10+
files: ['package.json'],
11+
rules: {
12+
// Fix for this incorrect eslint error:
13+
// packages/libs/contracts-sdk/package.json
14+
// 32:3 error The "contracts-sdk" project uses the following packages, but they are missing from "dependencies":
15+
// - @lit-protocol/types @nx/dependency-checks
16+
'@nx/dependency-checks': ['error', { ignoredDependencies: ['@lit-protocol/types'] }],
17+
},
18+
},
919
];

packages/libs/contracts-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
"devDependencies": {
1919
"@dotenvx/dotenvx": "^1.44.2",
2020
"@lit-protocol/auth-helpers": "^7.2.3",
21-
"@lit-protocol/constants": "^7.3.1",
22-
"@lit-protocol/contracts-sdk": "^7.2.3",
2321
"@lit-protocol/lit-node-client": "^7.2.3",
2422
"@lit-protocol/pkp-ethers": "^7.2.3",
2523
"@lit-protocol/types": "^7.2.3",
@@ -33,6 +31,8 @@
3331
},
3432
"dependencies": {
3533
"@ethersproject/abi": "^5.8.0",
34+
"@lit-protocol/constants": "^7.3.1",
35+
"@lit-protocol/contracts-sdk": "^7.2.3",
3636
"cbor2": "^2.0.1",
3737
"ethers": "^5.8.0"
3838
}

packages/libs/wrapped-keys/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"access": "public"
66
},
77
"dependencies": {
8-
"@lit-protocol/auth-helpers": "^8.0.2",
98
"@lit-protocol/constants": "^7.3.0",
109
"@lit-protocol/types": "^7.2.3",
1110
"@lit-protocol/vincent-contracts-sdk": "workspace:*",

0 commit comments

Comments
 (0)