Closed SuperSandro2000 closed 2 years ago
Understood. For now, I'll add a config file to enable/disable lints. In the future, I think I'll add a way to selectively ignore issues with a comment such as:
#statix ignore
("hello")
I think we want to add which issue should be ignored to the comment like shellcheck does.
Oh yeah, I intend to support two syntaxes:
# skip all issues on next line
#statix ignore
# skip specific issues on next line
#statix ignore: useless_parens, empty_let_in
With the latest release (v0.4.1), you can disable checks with a configuration file. Please see https://github.com/nerdypepper/statix#configuration. Feel free to reopen or create a new issue if there are bugs with the new flag!
I want to start applying the tool to nixpkgs. For that I would like to disable certain checks or only enable one to keep the changes small and for example only remove extra
()
.