diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4caca3cf..1dbc8593 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: env: FORCE_COLOR: true - PRIVATE_KEY: ${{secrets.PRIVATE_KEY}} + PRIVATE_KEY: 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' steps: - uses: actions/checkout@v2 diff --git a/.solhint.json b/.solhint.json index d7c3de98..323420dc 100644 --- a/.solhint.json +++ b/.solhint.json @@ -1,3 +1,18 @@ { - "extends": "solhint:default" + "extends": "solhint:recommended", + "rules": { + "func-visibility": [ + "warn", + { + "ignoreConstructors": true + } + ], + "var-name-mixedcase": "off", + "custom-errors": "off", + "no-global-import": "off", + "reason-string": "off", + "no-inline-assembly": "off", + "immutable-vars-naming": "off", + "one-contract-per-file": "off" + } } diff --git a/package.json b/package.json index 979aa8ce..016ae7a6 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "scripts": { "build": "hardhat compile", "test": "hardhat test", - "lint": "solhint contracts/**.sol && prettier --check contracts/**/*.sol", + "lint": "solhint contracts/**/*.sol && prettier --check contracts/**/*.sol", "docgen": "solidity-docgen --solc-module solc-0.8.25 --templates=docgen/templates" } }