Skip to content

Commit

Permalink
Ignore formatting of /og
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine committed Jul 18, 2023
1 parent 70b9489 commit 45e8570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ data/**
*.yaml
*.yml
*.html
og/**
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ go/mod:

.PHONY: fmt
fmt: $(BIN)/golangci-lint $(BIN)/buf $(BIN)/tk ## Automatically fix some lint errors
git ls-files '*.go' | grep -v 'vendor/' | xargs gofmt -s -w
git ls-files '*.go' | grep -v 'vendor/' | grep -v 'og/' | xargs gofmt -s -w
$(BIN)/golangci-lint run --fix
cd api/ && $(BIN)/buf format -w .
cd pkg && $(BIN)/buf format -w .
Expand Down

0 comments on commit 45e8570

Please sign in to comment.