Skip to content

Conversation

@sivizius
Copy link
Contributor

@sivizius sivizius commented Oct 9, 2024

This PR adds the options config and unrestricted to statix.

@sivizius sivizius marked this pull request as draft October 9, 2024 15:49
@sivizius sivizius changed the title feat(statix): add config-option feat(statix): add settings Oct 9, 2024
@sivizius sivizius marked this pull request as ready for review October 9, 2024 15:59
@sandydoo sandydoo added the enhancement New feature or request label Oct 10, 2024
@sandydoo sandydoo merged commit 4ebefca into cachix:master Oct 10, 2024
4 checks passed
@sandydoo
Copy link
Member

Thanks!

adomixaszvers added a commit to adomixaszvers/dotfiles-nix that referenced this pull request Oct 11, 2024
This reverts commit fe7813d.

cachix/git-hooks.nix#503 broke calls to statix.
For example
```
        {
          "always_run": false,
          "args": [],
          "entry": "/nix/store/4940qgbzfcjn64njb298l91q113pvsgx-statix-0.5.8/bin/statix check --format errfmt ignore hardware-configuration.nix",
          "exclude": "^$",
          "exclude_types": [],
          "fail_fast": false,
          "files": "\\.nix$",
          "id": "statix",
          "language": "system",
          "name": "statix",
          "pass_filenames": false,
          "require_serial": false,
          "stages": [
            "pre-commit"
          ],
          "types": [
            "file"
          ],
          "types_or": [],
          "verbose": false
        }
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants