Closed gagiuntoli closed 1 year ago
@gagiuntoli
Hello, sorry for the late response.
Seems like what is not working is the
// solhint-disable-next-line ordering
Even tried like this
/* solhint-disable */ function functionPublic() public { a = 1; } /* solhint-enable */
But it is still considering that function I will close this issue an open a new one with this bug
Please feel free to add any comment, we really appreciate your feedback We will be working on solhint in a regular basis to improve it !
I have the following case:
With this configuration:
I would expect solhint to throw an error on the ordering. The external function is after the public ones. But actually, it doesn't throw anything (
solhint --config ./.solhint.json file.sol
).Then, if I change in the order (also wrong):
it fails with the expected error: