From c0ddfdaef9ee8b0a77d191a6a9c05155598a0998 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Mon, 11 Mar 2024 17:00:35 -0400 Subject: [PATCH] Standardize lint and pretty scritps --- .github/workflows/code-syntax.yaml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-syntax.yaml b/.github/workflows/code-syntax.yaml index 56bc3cb10d..b3b2863298 100644 --- a/.github/workflows/code-syntax.yaml +++ b/.github/workflows/code-syntax.yaml @@ -19,7 +19,7 @@ jobs: - name: Build GraphQL client run: npm run graphql:build - name: Run tests - run: npm run lint + run: npm run lint:check pretty: runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index 87b9b3d701..1f42f84158 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,8 @@ "yup": "^1" }, "scripts": { - "lint": "eslint . --ext .ts,.tsx", - "lint:fix": "eslint . --ext .ts,.tsx --fix", + "lint": "eslint . --ext .ts,.tsx --fix", + "lint:check": "eslint . --ext .ts,.tsx", "pretty": "prettier . --write", "pretty:check": "prettier . --check", "dev": "npm run graphql:build && VITE_APP_GIT_HASH=`git rev-parse HEAD` vite",