From 093c444a3d2141c42160957886d9914576330b0e Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Sat, 6 Apr 2024 17:10:06 -0400 Subject: [PATCH] Fixed Eslitn issues --- .github/workflows/eslint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 3834279..0ca60e3 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: read security-events: write - actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status + actions: read steps: - name: Checkout code uses: actions/checkout@v4 @@ -25,7 +25,7 @@ jobs: run: yarn install - name: Run ESLint - run: yarn dlx next lint + run: npx next lint --config .eslintrc.json --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif