Open yosriady opened 2 years ago
Description The Solhint linting tool appears to silently swallow errors.
Basic Information The solhint setup in the main repo doesn't seem to be working, it may be failing silently because of the way the scripts are set up.
Steps to Reproduce
For example if you run the following in the contracts repo:
"lint:sol": "solhint --config .solhint.json \"src/v0.8/*.sol\""
You get the following error for several contracts:
src/v0.8/VRFV2Wrapper.sol 2:1 error Compiler version ^0.8.6 does not satisfy the ^0.5.8 semver requirement compiler-version
Additional Information
Check out bug/solhint and run:
bug/solhint
cd contracts yarn lint:sol
Thanks for raising this issue we will take a look!
Description The Solhint linting tool appears to silently swallow errors.
Basic Information The solhint setup in the main repo doesn't seem to be working, it may be failing silently because of the way the scripts are set up.
Steps to Reproduce
For example if you run the following in the contracts repo:
You get the following error for several contracts:
Additional Information
Check out
bug/solhint
and run: