diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1331895037..e2c3d773cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,10 +68,10 @@ jobs: run: npm ci - name: Check Linting - run: npm run lint + run: npm run lint-ci - name: Check Formatting - run: npm run check-format + run: npm run format-ci photon-build-examples: runs-on: ubuntu-22.04 name: "Build Examples" diff --git a/photon-client/package.json b/photon-client/package.json index d5cfb307e4..63a0e080bd 100644 --- a/photon-client/package.json +++ b/photon-client/package.json @@ -9,7 +9,8 @@ "build-only": "vite build", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "format": "prettier --write src/", - "check-format": "prettier --check src/" + "lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format-ci": "prettier --check src/" }, "dependencies": { "@fontsource/prompt": "^5.0.5",