Skip to content

Commit

Permalink
include fmt-check in lint
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jul 13, 2024
1 parent 3bfe82e commit 674e666
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 674e666

Please sign in to comment.