diff --git a/package.json b/package.json index e7f3be8..22704a1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "install-husky": "husky install", "prepare": "npm-run-all install-husky install-pip-packages", "slither-analyze": "slither .", - "forge-coverage": "forge coverage --report lcov && lcov --rc branch_coverage=1 --rc derive_function_end_line=0 --remove ./lcov.info -o ./lcov.info && rm -rf ./coverage && genhtml lcov.info --rc branch_coverage=1 --rc derive_function_end_line=0 --output-dir coverage && mv lcov.info ./coverage", + "forge-coverage": "forge coverage --report lcov && lcov --ignore-errors inconsistent ... --ignore-errors unused ... --ignore-errors missing ... --rc branch_coverage=1 --rc derive_function_end_line=0 --remove ./lcov.info -o ./lcov.info && rm -rf ./coverage && genhtml lcov.info --ignore-errors inconsistent ... --ignore-errors corrupt ... --ignore-errors missing … --ignore-errors category ... --rc branch_coverage=1 --rc derive_function_end_line=0 --output-dir coverage && mv lcov.info ./coverage", "lint-contract": "solhint 'contracts/**/*.sol' -f table", "lint-test-contract": "solhint 'test/**/*.sol' -f table", "lint-contract:errors": "solhint 'contracts/**/*.sol' 'test/**/*.sol' -f table --quiet",