From 0632d88dea386975e4935980268c39771bba0eaf Mon Sep 17 00:00:00 2001 From: David LJ Date: Tue, 12 Nov 2024 22:22:03 +0100 Subject: [PATCH] build: use same pattern for format / lint run scripts (#1033) --- .ci/Makefile | 3 --- .github/workflows/reusable-style.yml | 2 +- ...ormat__check_all.xml => Format__check__all_.xml} | 6 +++--- .lintstagedrc.json | 4 ++-- CONTRIBUTING.md | 8 +++----- package.json | 13 +++++++------ 6 files changed, 16 insertions(+), 20 deletions(-) rename .idea/runConfigurations/{Format__check_all.xml => Format__check__all_.xml} (64%) diff --git a/.ci/Makefile b/.ci/Makefile index 9ca54b61..5df7a1d6 100644 --- a/.ci/Makefile +++ b/.ci/Makefile @@ -24,9 +24,6 @@ unit-test-libs: unit-test-schematics: cd .. && pnpm run test:unit:schematics:coverage -format-check: - cd .. && pnpm run format-check-all - release: cd .. && pnpm semantic-release diff --git a/.github/workflows/reusable-style.yml b/.github/workflows/reusable-style.yml index 6cee7c96..0053a0b1 100644 --- a/.github/workflows/reusable-style.yml +++ b/.github/workflows/reusable-style.yml @@ -13,4 +13,4 @@ jobs: - name: Setup uses: ./.github/actions/setup - name: Format check - run: cd .ci && make format-check + run: pnpm run format:check diff --git a/.idea/runConfigurations/Format__check_all.xml b/.idea/runConfigurations/Format__check__all_.xml similarity index 64% rename from .idea/runConfigurations/Format__check_all.xml rename to .idea/runConfigurations/Format__check__all_.xml index a833c292..dffd3755 100644 --- a/.idea/runConfigurations/Format__check_all.xml +++ b/.idea/runConfigurations/Format__check__all_.xml @@ -1,12 +1,12 @@ - + -