Skip to content

Commit

Permalink
fix for new eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
hellwolf committed Feb 7, 2024
1 parent e3e011e commit 6b86ad7
Show file tree
Hide file tree
Showing 13 changed files with 588 additions and 542 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,34 @@
"@typechain/hardhat": "^8.0.3",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cloc": "^2.11.0",
"copyfiles": "^2.4.1",
"dotenv": "^16.3.1",
"dotenv": "^16.4.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.2",
"hardhat": "^2.19.4",
"hardhat-deploy": "^0.11.37",
"eslint-plugin-prettier": "^5.1.3",
"hardhat": "^2.19.5",
"hardhat-deploy": "^0.11.45",
"husky": "^8.0.3",
"lerna": "^7.3.0",
"node-jq": "^4.2.2",
"nodemon": "^3.0.2",
"lerna": "^7.4.2",
"node-jq": "^4.3.0",
"nodemon": "^3.0.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"prettier": "^3.2.5",
"prettier-eslint": "^15.0.1",
"solhint": "3.6.2",
"syncpack": "^10.9.3",
"truffle": "^5.11.5",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typedoc": "^0.25.6",
"typedoc": "^0.25.7",
"typescript": "^5.3.3",
"web3": "^1.10.2"
"web3": "^1.10.4"
},
"resolutions": {
"mocha": "^10.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/autowrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"check-updates": "ncu --target minor"
},
"dependencies": {
"@openzeppelin/contracts": "4.9.3",
"@openzeppelin/contracts": "4.9.5",
"@superfluid-finance/ethereum-contracts": "1.9.0",
"@superfluid-finance/metadata": "1.1.27"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"check-updates": "ncu --target minor"
},
"dependencies": {
"@openzeppelin/contracts": "4.9.3",
"@openzeppelin/contracts": "4.9.5",
"@superfluid-finance/ethereum-contracts": "1.9.0",
"@superfluid-finance/metadata": "1.1.27"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/ethereum-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
"dependencies": {
"@decentral.ee/web3-helpers": "0.5.3",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@openzeppelin/contracts": "4.9.3",
"@truffle/contract": "4.6.29",
"@openzeppelin/contracts": "4.9.5",
"@truffle/contract": "4.6.31",
"ethereumjs-tx": "2.1.2",
"ethereumjs-util": "7.1.5",
"hardhat": "^2.19.4"
"hardhat": "^2.19.5"
},
"devDependencies": {
"@nomiclabs/hardhat-truffle5": "^2.0.7",
Expand All @@ -98,7 +98,7 @@
"ganache-time-traveler": "1.0.16",
"mochawesome": "^7.1.3",
"readline": "1.3.0",
"solidity-coverage": "0.8.5",
"solidity-coverage": "0.8.6",
"solidity-docgen": "^0.6.0-beta.36",
"stack-trace": "0.0.10",
"truffle-flattener": "^1.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,12 +721,9 @@ describe("Superfluid Ownable Governance Contract", function () {
);
await governance
.connect(aliceSigner)
["setConfig(address,address,bytes32,address)"](
superfluid.address,
FAKE_TOKEN_ADDRESS1,
SUPERFLUID_REWARD_ADDRESS_CONFIG_KEY,
FAKE_ADDRESS2
);
[
"setConfig(address,address,bytes32,address)"
](superfluid.address, FAKE_TOKEN_ADDRESS1, SUPERFLUID_REWARD_ADDRESS_CONFIG_KEY, FAKE_ADDRESS2);

assert.equal(
await governance.getRewardAddress(
Expand Down Expand Up @@ -801,12 +798,9 @@ describe("Superfluid Ownable Governance Contract", function () {
);
await governance
.connect(aliceSigner)
["setConfig(address,address,bytes32,uint256)"](
superfluid.address,
FAKE_TOKEN_ADDRESS1,
SUPERTOKEN_MINIMUM_DEPOSIT_KEY,
123456
);
[
"setConfig(address,address,bytes32,uint256)"
](superfluid.address, FAKE_TOKEN_ADDRESS1, SUPERTOKEN_MINIMUM_DEPOSIT_KEY, 123456);

assert.equal(
(
Expand Down
2 changes: 1 addition & 1 deletion packages/hot-fuzz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "packages/hot-fuzz"
},
"dependencies": {
"@openzeppelin/contracts": "4.9.3"
"@openzeppelin/contracts": "4.9.5"
},
"peerDependencies": {
"@superfluid-finance/ethereum-contracts": "1.8.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
},
"dependencies": {
"@superfluid-finance/metadata": "1.1.27",
"@truffle/contract": "4.6.29",
"@truffle/contract": "4.6.31",
"auto-bind": "4.0.0",
"node-fetch": "2.7.0"
},
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "1.9.0",
"chai-as-promised": "^7.1.1",
"webpack": "^5.88.2",
"webpack-bundle-analyzer": "^4.9.1",
"webpack": "^5.90.1",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^4.10.0"
}
}
10 changes: 5 additions & 5 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
"tsify": "^5.0.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/introspection": "^4.0.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/introspection": "^4.0.2",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/typed-document-node": "^5.0.1",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typed-document-node": "^5.0.4",
"@graphql-codegen/typescript": "^4.0.4",
"@graphql-codegen/typescript-operations": "^4.1.2",
"@graphql-typed-document-node/core": "^3.2.0",
"ajv": "^8.12.0",
"ethers": "^5.7.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"promise-retry": "^2.0.1"
},
"devDependencies": {
"@reduxjs/toolkit": "^1.9.5",
"@types/promise-retry": "^1.1.3",
"@reduxjs/toolkit": "^1.9.7",
"@types/promise-retry": "^1.1.6",
"@types/react": "^18",
"@types/react-dom": "^18",
"react": "^18",
"react-dom": "^18",
"react-redux": "^8.1.2"
"react-redux": "^8.1.3"
},
"peerDependencies": {
"@reduxjs/toolkit": "^1.7.0 || ^1.8.0 || ^1.9.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ const getEventSpecificTags = (event: AllEvents, chainId: number) => {
return [];
default:
console.warn(
`Unknown event [${(event as any)
?.name}] in "invalidateCacheTagsForEvents" for @superfluid-finance/sdk-redux. Cache might not be invalidated properly.`
`Unknown event [${
(event as any)?.name
}] in "invalidateCacheTagsForEvents" for @superfluid-finance/sdk-redux. Cache might not be invalidated properly.`
);
return [];
}
Expand Down
2 changes: 1 addition & 1 deletion packages/solidity-semantic-money/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"check-updates": "ncu --target minor"
},
"dependencies": {
"@openzeppelin/contracts": "4.9.3"
"@openzeppelin/contracts": "4.9.5"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"cloc": "cloc src"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.64.1",
"@graphprotocol/graph-cli": "0.67.4",
"@graphprotocol/graph-ts": "0.32.0",
"@superfluid-finance/sdk-core": "0.6.13",
"mustache": "^4.2.0"
Expand Down
Loading

0 comments on commit 6b86ad7

Please sign in to comment.