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",