From 409e66d932c508e06e497d269d28f211fb663ea5 Mon Sep 17 00:00:00 2001 From: Francis Rodriguez <39339295+Freshenext@users.noreply.github.com> Date: Mon, 5 Aug 2024 08:10:29 -0400 Subject: [PATCH] Added a new linting step to grab linting issues before merging. (#92) --- .github/workflows/lint.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dc2af14d..6a5df024 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,4 +16,5 @@ jobs: node-version: 18 - run: npm i - run: npm run lint + - run: npm run lint-tsc \ No newline at end of file diff --git a/package.json b/package.json index af53c104..b722f21e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "start": "next start", "lint": "next lint", "lint:fix": "next lint --fix", + "lint-tsc": "tsc --noEmit", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "e2e-open": "start-server-and-test dev http://localhost:3000 \"cypress open --e2e\"",