nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 59933ce25e20d0c4aa9c3c9ee459a6a281e02b51
parent 1b9f364e15a539127cf2939fa9f0023bc9370d95
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Tue,  6 Sep 2022 05:44:22 -0500

build: add pre-commit config

Diffstat:
A.pre-commit-config.yaml | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -0,0 +1,16 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/doublify/pre-commit-rust + rev: v1.0 + hooks: + - id: fmt + - id: cargo-check + - id: clippy