You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the workaround is to have 2 separate .solhint*.json files and run the 2 tasks separately. It can be a bit tedious to add the required boilerplate every time though.
The text was updated successfully, but these errors were encountered:
@amusingaxl
Sorry the late response and thanks a lot for your feedback
We are going to keep solhint updated on regular basis and this could be a good addition
Not sure when can we add this because it is not a simple addition, but I see the point of it.
This feature is particularly useful when someone is using forge and solhint as the same time and trying to follow forge's somewhat arbitrary snake_camelCases for contract/function name.
Most linters out there support overrides for specific file patterns.
For instance,
eslint
has supported this for a long time.One use case that I currently have is that I want slightly different ruleset for Solidity test files.
It would be awesome if we could have something like:
With the configs above we can reduce the error/warning clutter and also improve the signal-to-noise ratio in test files, so we can write:
instead of:
without being bothered with errors.
Right now the workaround is to have 2 separate
.solhint*.json
files and run the 2 tasks separately. It can be a bit tedious to add the required boilerplate every time though.The text was updated successfully, but these errors were encountered: