Skip to content

Tags: aRustyDev/pre-commit-hooks

Tags

v0.3.2

Toggle v0.3.2's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
Release v0.3.2: Make validate-frontmatter pip installable

v0.3.1

Toggle v0.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
Release v0.3.1: Make validate-frontmatter pip installable

v0.3.0

Toggle v0.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
Release v0.3.0

This release introduces comprehensive pre-commit hooks for Nix development:

- **nix-flake-check**: Validates flake.nix files using `nix flake check`
- **nix-build-check**: Tests Nix builds for both flakes and legacy expressions
- **nix-darwin-check**: Validates nix-darwin configurations (Darwin-only)
- **nix-home-manager-check**: Tests home-manager configurations
- **nix-fmt**: Formats Nix files (supports nixpkgs-fmt, alejandra, nixfmt)
- **nix-lint**: Lints Nix files using statix and optionally deadnix

- **fmt**: Format files with cargo fmt
- **cargo-check**: Check the package for errors
- **clippy**: Lint rust sources
- **rustc**: Run cargo rustc following the cargo.toml file
- **build-docs**: Build rust documentation
- **generate-report**: Check for future incompatibilities
- **cargo-bench**: Compile and execute benchmarks

- Added dead-links checker for markdown files
- Added pluralith hook for generating Terraform diagrams
- Added tfupdate hook for updating Terraform version constraints
- Documentation improvements and TODO additions

```yaml
repos:
  - repo: https://github.com/aRustyDev/pre-commit-hooks
    rev: v0.3.0
    hooks:
      # Nix hooks
      - id: nix-fmt
      - id: nix-lint
      - id: nix-flake-check
      - id: nix-build-check
      # Rust hooks
      - id: fmt
      - id: clippy
      - id: cargo-check
```

- @aRustyDev
- @claude (AI Assistant)

Full changelog: v0.2.1...v0.3.0

v0.2.1

Toggle v0.2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.2.1: adding better error messages to 'dead-links'

v0.2.0

Toggle v0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.2.0: added support for 'dead-links' hook

v0.1.8

Toggle v0.1.8's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.1.8: extended dead-links hook to support urls

v0.1.7

Toggle v0.1.7's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.1.7: added support for 'dead-links' checking in markdown

v0.1.6

Toggle v0.1.6's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.1.6: added tfupdate hook

v0.1.5

Toggle v0.1.5's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
v0.1.5: pluralith ready for public use.

v0.1.4

Toggle v0.1.4's commit message

Verified

This tag was signed with the committer’s verified signature.
aRustyDev aRustyDev
feat: added pluralit (untested)