Skip to content

Commit

Permalink
chore: some solhint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
folkyatina committed Jan 3, 2025
1 parent 4e18178 commit a48c18a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions contracts/common/lib/UnstructuredStorage.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: 2023 Lido <[email protected]>, Aragon
// SPDX-License-Identifier: MIT

// solhint-disable-next-line lido/fixed-compiler-version
pragma solidity ^0.8.9;

library UnstructuredStorage {
Expand Down
1 change: 1 addition & 0 deletions contracts/common/utils/PausableUntil.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// SPDX-FileCopyrightText: 2023 Lido <[email protected]>
// SPDX-License-Identifier: GPL-3.0
// solhint-disable-next-line lido/fixed-compiler-version
pragma solidity ^0.8.9;

import {UnstructuredStorage} from "contracts/common/lib/UnstructuredStorage.sol";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"lint-staged": "15.2.10",
"prettier": "3.4.1",
"prettier-plugin-solidity": "1.4.1",
"solhint": "5.0.3",
"solhint": "^5.0.4",
"solhint-plugin-lido": "0.0.4",
"solidity-coverage": "0.8.14",
"ts-node": "10.9.2",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8095,7 +8095,7 @@ __metadata:
openzeppelin-solidity: "npm:2.0.0"
prettier: "npm:3.4.1"
prettier-plugin-solidity: "npm:1.4.1"
solhint: "npm:5.0.3"
solhint: "npm:^5.0.4"
solhint-plugin-lido: "npm:0.0.4"
solidity-coverage: "npm:0.8.14"
ts-node: "npm:10.9.2"
Expand Down Expand Up @@ -10638,11 +10638,11 @@ __metadata:
languageName: node
linkType: hard

"solhint@npm:5.0.3":
version: 5.0.3
resolution: "solhint@npm:5.0.3"
"solhint@npm:^5.0.4":
version: 5.0.4
resolution: "solhint@npm:5.0.4"
dependencies:
"@solidity-parser/parser": "npm:^0.18.0"
"@solidity-parser/parser": "npm:^0.19.0"
ajv: "npm:^6.12.6"
antlr4: "npm:^4.13.1-patch-1"
ast-parents: "npm:^0.0.1"
Expand All @@ -10666,7 +10666,7 @@ __metadata:
optional: true
bin:
solhint: solhint.js
checksum: 10c0/262e86a8932d7d4d6ebae2a9d7317749e5068092e7cdf4caf07ac39fc72bd2c94f3907daaedcad37592ec001b57caed6dc5ed7c3fd6cd18b6443182f38c1715e
checksum: 10c0/70058b23c8746762fc88d48b571c4571719913ca7f3c582a55c123ad9ba38976a2338782025fbb9643bb75bfad18bf3dce1b71e500df6d99589e9814fbcce1d7
languageName: node
linkType: hard

Expand Down

0 comments on commit a48c18a

Please sign in to comment.