From d024b840bf3085923216929d8d2958d2386964b1 Mon Sep 17 00:00:00 2001 From: Jakub Hanko <60473007+JakubHanko@users.noreply.github.com> Date: Fri, 24 May 2024 17:03:22 +0200 Subject: [PATCH] Another try to fix ESLint CI run --- .github/workflows/eslint.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 4d3a552d3b9..32c0ca7707a 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -28,4 +28,4 @@ jobs: run: npm ci # Use 'npm ci' to install dependencies - name: eslint # Step to run linters - run: eslint . \ No newline at end of file + run: npm run eslint-ci \ No newline at end of file diff --git a/package.json b/package.json index a477bbe8cbf..49577e0192d 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "test": "vitest run", "test:cov": "vitest run --coverage", "test:watch": "vitest watch --coverage", - "eslint": "eslint --fix ." + "eslint": "eslint --fix .", + "eslint-ci": "eslint ." }, "devDependencies": { "@eslint/js": "^9.3.0",