From 2278d2d2d9407ae8788302ebd816da104400eaa0 Mon Sep 17 00:00:00 2001 From: Pritam Kundu <75939390+warmachine028@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:10:29 +0530 Subject: [PATCH] Update eslint.yml --- .github/workflows/eslint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index d7465fe..ebe4d29 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -32,6 +32,7 @@ jobs: - name: Install ESLint run: | + cd client npm install --save-dev eslint-config-next --legacy-peer-deps npm install @typescript-eslint/eslint-plugin --legacy-peer-deps npm install eslint@8.10.0 --legacy-peer-deps @@ -39,8 +40,9 @@ jobs: - name: Run ESLint run: | + cd client npx eslint . - --config client/.eslintrc.json + --config .eslintrc.json --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif