Skip to content

Commit

Permalink
ci: add linting step for web-tree-sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jan 21, 2025
1 parent 169d7ad commit 11410b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
components: clippy, rustfmt

- name: Lint files
run: make lint
run: |
make lint
make lint-web
sanitize:
uses: ./.github/workflows/sanitize.yml
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ lint:
cargo +nightly fmt --all --check
cargo +nightly clippy --workspace --all-targets -- -D warnings

lint-web:
npm --prefix lib/binding_web ci
npm --prefix lib/binding_web run lint

format:
cargo +nightly fmt --all

Expand Down

0 comments on commit 11410b5

Please sign in to comment.