From c984059e95136bbf8fcb362f2d1bcd0790823313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Colladon?= Date: Sun, 29 Sep 2024 18:58:20 +0200 Subject: [PATCH] fix: relax plugin linting issues --- .github/workflows/reusable-build.yml | 4 ++++ .husky/pre-push | 1 + package.json | 3 +-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 8d3cf1a5..15ec03ba 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -23,6 +23,10 @@ jobs: - name: Lint plugin run: yarn lint + - name: Lint plugin + run: yarn lint:plugin || exit 0 + continue-on-error: true + - name: Build plugin run: yarn pack diff --git a/.husky/pre-push b/.husky/pre-push index 23dd579f..9f7e2f84 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,6 +1,7 @@ #!/bin/sh yarn lint +yarn lint:plugin yarn pack yarn test npm outdated || true diff --git a/package.json b/package.json index 1b9869cb..657a9816 100644 --- a/package.json +++ b/package.json @@ -184,8 +184,7 @@ ], "output": [], "dependencies": [ - "lint:fs", - "lint:plugin" + "lint:fs" ] }, "lint:dependencies": {