Closed HardlyDifficult closed 5 years ago
This is pretty serious. Looking into that.
When running things locally I also do not get anything. Could this be a different version?
$ solhint --version
1.1.10
Wait, I know what is going on, we're running $ solhint contracts/**/*.sol
from /unlock/smart-contracts
so it is just running against the contracts inside contracts/interfaces/
which are good :/.
2 steps:
Do you think you or @nfurfaro can work on the first part?
Even weirder: $ solhint "contracts/**/*.sol"
does show the issues when $ solhint contracts/**/*.sol
does not :/
1) I already fixed the lint issues: https://github.com/unlock-protocol/unlock/pull/1105
2) The docs seem to say we are doing it correctly... but maybe we can try this to cover all files:
solhint contracts/*.sol contracts/**/*.sol
(https://protofire.github.io/solhint/)
"
which we are not doing. Adding a PR to test for that which should hopefully fail and then pass once #1015 is merged!
ThanksThanks for the quick turnaround on this @hardlydifficult !
Describe the bug
solhint
is executed with each build. But somehow errors are not appearing! I just checked, this is the current state on the master branch:To Reproduce Steps to reproduce the behavior:
solhint
was calledunlock\smart-contracts> solhint contracts\**\*.sol
Expected behavior Errors detected locally should appear in Travis.
Additional context Here is a link to an old build of Unlock which called solhint and caught my errors: https://travis-ci.com/hardlydifficult/unlock/builds/85219093#L4362 It seems to be called the same way. I'm not sure what changed.