From 11410b5a8efd91aa8b1f79b6e3cd56564beac498 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Thu, 16 Jan 2025 01:24:31 -0500 Subject: [PATCH] ci: add linting step for `web-tree-sitter` --- .github/workflows/ci.yml | 4 +++- Makefile | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b548a8d..1c983757 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Makefile b/Makefile index 83c2f814..02335219 100644 --- a/Makefile +++ b/Makefile @@ -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