protofire / solhint

Solhint is an open-source project to provide a linting utility for Solidity code.
https://protofire.github.io/solhint/
MIT License
1.04k stars 161 forks source link

ADD: Import order rule #587

Closed dbale-altoros closed 4 months ago

dbale-altoros commented 4 months ago

Requested https://github.com/protofire/solhint/issues/571

cruzdanilo commented 4 months ago

please, make sure it doesn't conflict with foundry's fmt import sorter: https://book.getfoundry.sh/reference/config/formatter?highlight=sort_imports#sort_imports

dbale-altoros commented 4 months ago

@cruzdanilo that is a good point... but remember this is a non mandatory rule and will not be part of the recommended pack... so it can be disabled if it presents any conflict