Closed come-maiz closed 6 years ago
This is caused because no-state-variable-shadowing
doesn't yet support parsing contracts from imports. It can use the same style as no-unused-imports
, but #17 needs to be fixed first.
In the mean time, I will quickly make that it doesn't crash.
I tried running the no-state-variable-shadowing rule on the zeppelin-solidity project, and it failed with:
✖ [Fatal error] An error occurred while linting over /home/ubuntu/zeppelin-solidity/contracts/Bounty.sol: Cannot read property 'stateVariables' of undefined