Update eslint.yml

Ensure suppressed warnings don't make it into the SARIF.
This commit is contained in:
Andrew Eisenberg
2024-09-10 11:10:00 -07:00
committed by GitHub
parent 9db23a2437
commit 53980cb868
+3 -1
View File
@@ -36,6 +36,8 @@ jobs:
npm install @microsoft/eslint-formatter-sarif@2.1.7
- name: Run ESLint
env:
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
run: npx eslint .
--config .eslintrc.js
--ext .js,.jsx,.ts,.tsx
@@ -47,4 +49,4 @@ jobs:
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
wait-for-processing: true