From 674e6660fba0a803e30eed7111afec4bef05c221 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 13 Jul 2024 19:45:41 +0200 Subject: [PATCH] include fmt-check in lint --- .github/workflows/ci.yml | 1 - Makefile | 5 +---- README.md | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e2b106..090d7af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 - - run: make fmt-check - run: make lint - run: make test env: diff --git a/Makefile b/Makefile index 60fba89..1e43ccc 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,8 @@ SRC_FILES := $(shell find src -type f -name '*.ts') @PHONY: lint lint: @deno lint - @deno check $(SRC_FILES) - -@PHONY: fmt-check -fmt-check: @deno fmt --check + @deno check $(SRC_FILES) @PHONY: fmt fmt: diff --git a/README.md b/README.md index e9365f8..c3dfded 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ webhook on `/trigger` to run this bot. ## Development - `make fmt` runs the formatter -- `make lint` runs the linter and type checker +- `make lint` runs the linter and checks formatting and types - `make test` runs the tests ## Contributing