-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Description
Solhint allows having several configs for different folders of the same project (not speaking of monorepos here).
The most common use case for this is having relaxed rules for the test folder.
However, Solidity extension doesn't pickup the subdir configs. It leads to the issue that CLI linter is fine, while IDE visual linter produces multiple warnings and errors for the test files.
Potential solutions, in order of preference:
- allow extension to handle subdir configs
- introduce
solidity.solhintIgnoresetting, so I can ignore test folder for visual linting - allow rules configured in the
solidity.solhintRulessetting to have priority on the.solhint.jsonrules. this will allow ignoring some rules at least visually and have less visual noise
Metadata
Metadata
Assignees
Labels
No labels