Skip to content

Commit

Permalink
add markdown-lint dockerfile-lint yaml-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
any0Ne1010 committed Feb 23, 2024
1 parent f0e3279 commit a412aef
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ benchmark:
### Linting ###
###############################################################################

lint-all: lint yaml-lint markdown-lint dockerfile-lint gosec lint-cosmos-gosec proto-lint

lint:
@@test -n "$$golangci-lint version | awk '$4 >= 1.42')"
golangci-lint run --out-format=tab -n
Expand All @@ -390,6 +392,17 @@ lint-cosmos-gosec:

gosec:
gosec -exclude-dir=localnet* ./...
.PHONY: gosec lint-cosmos-gosec

yaml-lint:
yamllint -c .yamllint -s .

markdown-lint:
markdownlint -c .markdownlint.yml .

dockerfile-lint:
hadolint Dockerfile
.PHONY: yaml-lint markdown-lint dockerfile-lint

###############################################################################
### Protobuf ###
Expand Down

0 comments on commit a412aef

Please sign in to comment.