From b1956d7d9cde33f0565fe1e3535d6f2e7b477ceb Mon Sep 17 00:00:00 2001 From: faisal-alvi Date: Sat, 14 Dec 2024 00:25:17 +0530 Subject: [PATCH] revert package name changes --- .github/workflows/lint.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 855da2b..6bfe65d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,4 +44,4 @@ jobs: - name: Run JS linting if: ${{ steps.changed-files.outputs.any_changed == 'true' }} - run: npx wp-scripts lint-js ${{ steps.changed-files.outputs.all_changed_files }} + run: ./node_modules/.bin/10up-toolkit lint-js ${{ steps.changed-files.outputs.all_changed_files }} diff --git a/package.json b/package.json index 23478d4..5e28923 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "watch": "10up-toolkit watch", "build": "10up-toolkit build", "format-js": "10up-toolkit format-js", - "lint-js": "wp-scripts lint-js ./assets ./includes", - "lint-js-fix": "wp-scripts lint-js ./assets ./includes --fix", + "lint-js": "10up-toolkit lint-js ./assets ./includes", + "lint-js-fix": "10up-toolkit lint-js ./assets ./includes --fix", "lint-style": "10up-toolkit lint-style", "test": "10up-toolkit test-unit-jest", "wp-env": "wp-env",