Skip to content

Commit

Permalink
Merge pull request #2699 from norio-nomura/exclude-.git-in-make-lint
Browse files Browse the repository at this point in the history
Makefile: exclude `.git` in `make lint`
  • Loading branch information
AkihiroSuda authored Oct 8, 2024
2 parents 0ac8438 + cb4edaa commit 2b9f686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ lint: check-generated
golangci-lint run ./...
yamllint .
ls-lint
find . -name '*.sh' | xargs shellcheck
find . -name '*.sh' | xargs shfmt -s -d
find . -name '*.sh' ! -path "./.git/*" | xargs shellcheck
find . -name '*.sh' ! -path "./.git/*" | xargs shfmt -s -d

.PHONY: clean
clean:
Expand Down

0 comments on commit 2b9f686

Please sign in to comment.