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