summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-06-24 21:18:51 -0700
committerGitHub <[email protected]>2025-06-25 04:18:51 +0000
commit9a093e4b51f3079ed3856da285f37bb21aeb483f (patch)
tree1867169c322fe12d538564655cde2d9af5ca9a9f
parent4cc2b27f1d0169bc794f48f160b3825a64f8c042 (diff)
CI: Linting Fix (#1413)
Co-authored-by: Scott Densmore <[email protected]>
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--package.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7816f93c..1d112e10 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,7 +37,7 @@ jobs:
git diff --exit-code
- name: Run linter
- run: npm run lint
+ run: npm run lint:ci
- name: Build project
run: npm run build
diff --git a/package.json b/package.json
index 78ad2e2d..081370ad 100644
--- a/package.json
+++ b/package.json
@@ -23,9 +23,10 @@
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
+ "lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",
"typecheck": "npm run typecheck --workspaces --if-present",
"format": "prettier --write .",
- "preflight": "npm run clean && npm ci && npm run format && npm run lint:fix && npm run build && npm run typecheck && npm run test:ci",
+ "preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
"auth:npm": "npx google-artifactregistry-auth",
"auth:docker": "gcloud auth configure-docker us-west1-docker.pkg.dev",
"auth": "npm run auth:npm && npm run auth:docker",